Project

General

Profile

Actions

Feature #11697

closed

loader: Malloc(0) should return NULL.

Added by Toomas Soome almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

We really should not allocate anything with size 0.


Related issues

Related to illumos gate - Bug #11696: loader: scan_buffer can leave empty string on stackClosedToomas Soome

Actions
Actions #1

Updated by Toomas Soome almost 3 years ago

  • Related to Bug #11696: loader: scan_buffer can leave empty string on stack added
Actions #2

Updated by Toomas Soome almost 3 years ago

  • Tracker changed from Bug to Feature
  • Status changed from In Progress to Closed

Dropping this one as apparently malloc(0) is supposed to be quite legal (feedback from FreeBSD dev).

Actions

Also available in: Atom PDF