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

             Bug #: 13196
           Summary: readelf floating point exception
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: paul.marine...@imperial.ac.uk
    Classification: Unclassified


Created attachment 5935
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5935
file to expose bug

readelf 2.21.53 crashes with a division by zero when trying to display the
debug aranges section of a (possibly malformed) file.

To reproduce run

readelf -wr hello.test.div

For me this results in:
Contents of the .debug_aranges section:

  Length:                   28
  Version:                  2
  Offset into .debug_info:  0x0
  Pointer Size:             0
  Segment Size:             0

    Address    Length
Floating point exception

-- 
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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to