https://sourceware.org/bugzilla/show_bug.cgi?id=22163
Bug ID: 22163 Summary: null pointer dereference in elf_x86_64_get_synthetic_symtab, elf64-x86-64.c:6945 in binutils 2.29.1 Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10435 --> https://sourceware.org/bugzilla/attachment.cgi?id=10435&action=edit crash of elf When I run objdump with a specific elf, it crashes. The command I run is objdump -S crash.pdf, and the result is as follows: ASAN:SIGSEGV ================================================================= ==82641==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x000000510f8a bp 0x7ffebb774a00 sp 0x7ffebb774720 T0) #0 0x510f89 in elf_x86_64_get_synthetic_symtab /work/binutils-2.29.1-asan/binutils-2.29.1/bfd/elf64-x86-64.c:6945 #1 0x4140d2 in dump_bfd objdump.c:3525 #2 0x4144a5 in display_object_bfd objdump.c:3603 #3 0x4148a1 in display_any_bfd objdump.c:3692 #4 0x414916 in display_file objdump.c:3713 #5 0x415925 in main objdump.c:4015 #6 0x7ff3314b782f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) #7 0x403128 in _start (/work/binutils-2.29.1-asan/binutils-2.29.1/binutils/objdump+0x403128) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /work/binutils-2.29.1-asan/binutils-2.29.1/bfd/elf64-x86-64.c:6945 elf_x86_64_get_synthetic_symtab ==82641==ABORTING The crash elf is attached. -- 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