https://sourceware.org/bugzilla/show_bug.cgi?id=21379

            Bug ID: 21379
           Summary: readelf: signed integer overflow
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: ago at gentoo dot org
  Target Milestone: ---

Hello,

this is compiled from master. I don't know if previous version are affected.

# readelf -a $FILE
/tmp/portage/sys-devel/binutils-9999/work/binutils/binutils/readelf.c:9447:39:
runtime error: signed integer overflow: 7443 - -9223372036854775080 cannot be
represented in type 'long'

Reproducer:
https://github.com/asarubbo/poc/blob/master/00275-binutils-signintoverflow

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