https://sourceware.org/bugzilla/show_bug.cgi?id=21978
Bug ID: 21978
Summary: objdump does not display line numbers in certain cases
Product: binutils
Version: 2.28
Status: UNCONFIRMED
Severity: minor
Priority: P2
I found an integer overflow bug in process_version_sections (readelf.c),
which would make a for loop iterate millions of times.
Reproduce the bug
root@manh-VirtualBox:~# readelf -a readefl_hang.elf
ELF Header:
Magic: 7f 45 4c 46 00 02 00 00 00 00 00 00 00 00 00 40
Cl
https://sourceware.org/bugzilla/show_bug.cgi?id=21977
Bug ID: 21977
Summary: C asm statement results in C source in assembler
listing, even without -ah option
Product: binutils
Version: 2.27
Status: UNCONFIRMED