https://sourceware.org/bugzilla/show_bug.cgi?id=24168
Bug ID: 24168
Summary: segment fault in nm-new in binutils-2.30
Product: binutils
Version: 2.30
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: zhangyn2012 at bupt dot edu.cn
Target Milestone: ---
Created attachment 11584
--> https://sourceware.org/bugzilla/attachment.cgi?id=11584&action=edit
input file triggering the bug
Hi, there.
I got a segment fault when testing nm-new in binutils-2.30 with the command
`nm-new -a -C -l --synthetic poc`.
The compilation flags used were "-g -O2".
The stack dumps given by valgrind are as follows:
Stack dump:
==10084== Invalid read of size 8
==10084== at 0x403B55: print_symbol (nm.c:989)
==10084== by 0x403F73: print_symbols (nm.c:1089)
==10084== by 0x403F73: display_rel_file (nm.c:1205)
==10084== by 0x4050D9: display_file (nm.c:1325)
==10084== by 0x402FA9: main (nm.c:1799)
==10084== Address 0x20 is not stack'd, malloc'd or (recently) free'd
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils