https://sourceware.org/bugzilla/show_bug.cgi?id=27853
Bug ID: 27853 Summary: Infinite loop in dwarf.c:4387-4398 Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: shaohua.li at inf dot ethz.ch Target Milestone: --- Created attachment 13440 --> https://sourceware.org/bugzilla/attachment.cgi?id=13440&action=edit hang.o Hi there, I found that the for loop in dwarf.c:4387-4398 would enter an infinite loop when run `readelf -w` with a crafted input (see attachment). Compiler: gcc11 Reproduce: readelf -w hang.o -- You are receiving this mail because: You are on the CC list for the bug.