[RTEMS Project] #4390: Make zero size allocation result consistent across directives

RTEMS trac trac at rtems.org
Fri May 7 05:08:45 UTC 2021


#4390: Make zero size allocation result consistent across directives
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  6.1
Component:  admin            |     Version:  6
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"c46d125569a215226602a7d4b9c346ee074fe365/rtems"
 c46d125/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="c46d125569a215226602a7d4b9c346ee074fe365"
 Check the alignment in posix_memalign() earlier

 Make sure all conditions to do a proper memory allocation are satisfied
 before a zero size memory allocation is performed.

 Update #4390.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4390#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list