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

RTEMS trac trac at rtems.org
Wed Dec 13 15:05:12 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 daniel.cederman):

 It is the word right after the .eh_frame that needs to be zero, so I do
 not think using calloc() would help. It is my understanding that the
 linker usually the termination zero, so maybe libdl needs some special
 handling of this section? I am not familiar with the libdl code so I do
 not know what the correct approach would be.

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


More information about the bugs mailing list