[RTEMS Project] #4978: dl05 fails when memory is not zeroed out

RTEMS trac trac at rtems.org
Mon Dec 18 03:06:40 UTC 2023


#4978: dl05 fails when memory is not zeroed out
-----------------------------+---------------------
 Reporter:  daniel.cederman  |       Owner:  (none)
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:
Component:  lib/dl           |     Version:  6
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+---------------------

Comment (by Chris Johns):

 I think zeroing the memory is fine but you cannot exchange the call to
 `malloc` to `calloc` because `libdl` has an allocator interface so that
 interface has to be updated to reflect the memory needs to be zeroed. This
 may be as a simple as updating a comment to state this but I have not
 checked.

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


More information about the bugs mailing list