bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13220] New: readelf invalid memory access (process_abbrev_


From: paul.marinescu at imperial dot ac.uk
Subject: [Bug binutils/13220] New: readelf invalid memory access (process_abbrev_section)
Date: Fri, 23 Sep 2011 12:33:26 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13220

             Bug #: 13220
           Summary: readelf invalid memory access (process_abbrev_section)
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 5943
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5943
valgrind readelf -w <file> to reproduce the bug

readelf appears to access invalid memory as reported by valgrind when showing
debug information for the attached file (readelf -w <file>).

Valgrind outputs 6 messages similar to

==28223== Invalid read of size 1
==28223==    at 0x42EFF0: process_abbrev_section (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==    by 0x424F11: display_debug_abbrev (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==    by 0x41F99F: process_object (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==    by 0x42372D: main (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==  Address 0x4fbe219 is 1 bytes after a block of size 40 alloc'd
==28223==    at 0x4029B6A: malloc (vg_replace_malloc.c:263)
==28223==    by 0x404BCC: get_data (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==    by 0x412C4D: load_specific_debug_section (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==    by 0x41F984: process_object (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)
==28223==    by 0x42372D: main (in
/data/scratchpad/binutils-2.21.53/binutils/readelf)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]