[RTEMS Project] #4390: Make zero size allocation result consistent accross directives
RTEMS trac
trac at rtems.org
Tue Apr 20 18:37:10 UTC 2021
#4390: Make zero size allocation result consistent accross directives
------------------------------+-----------------------------
Reporter: Sebastian Huber | Owner: Sebastian Huber
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.1
Component: admin | Version: 6
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+-----------------------------
There is a special case in malloc() which results in a malloc( 0 ) == NULL
invariant. This special case should move to
rtems_heap_allocate_aligned_with_boundary() to have a consistent behaviour
across the API level memory allocation directives.
--
Ticket URL: <http://devel.rtems.org/ticket/4390>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list