https://sourceware.org/bugzilla/show_bug.cgi?id=21957
Bug ID: 21957 Summary: Null Pointer in setup_group Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: critical Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: 499671216 at qq dot com Target Milestone: --- Created attachment 10348 --> https://sourceware.org/bugzilla/attachment.cgi?id=10348&action=edit objdump -s NULL_POINTER My platform is ubuntu x86 root@ubuntu:/home/hjy/Desktop# objdump -s NULL_POINTER objdump: NULL_POINTER: corrupt size field in group section header: 0x80004064 ASAN:SIGSEGV ================================================================= ==27535==ERROR: AddressSanitizer: SEGV on unknown address 0x00000004 (pc 0x083bb69a sp 0xbffa4e90 bp 0xbffa50b8 T0) #0 0x83bb699 in setup_group /home/hjy/Desktop/binutils-2.29/bfd/elf.c:756 #1 0x83bb699 in _bfd_elf_make_section_from_shdr /home/hjy/Desktop/binutils-2.29/bfd/elf.c:1020 #2 0x83b46ce in bfd_section_from_shdr /home/hjy/Desktop/binutils-2.29/bfd/elf.c:2436 #3 0x83bd816 in setup_group /home/hjy/Desktop/binutils-2.29/bfd/elf.c:643 #4 0x83bd816 in _bfd_elf_make_section_from_shdr /home/hjy/Desktop/binutils-2.29/bfd/elf.c:1020 #5 0x83b42f9 in bfd_section_from_shdr /home/hjy/Desktop/binutils-2.29/bfd/elf.c:2453 #6 0x83872d0 in bfd_elf32_object_p /home/hjy/Desktop/binutils-2.29/bfd/elfcode.h:805 #7 0x82bd375 in bfd_check_format_matches /home/hjy/Desktop/binutils-2.29/bfd/format.c:311 #8 0x806e0e1 in display_object_bfd objdump.c:3601 #9 0x806e0e1 in display_any_bfd objdump.c:3692 #10 0x805837d in display_file objdump.c:3713 #11 0x805837d in main objdump.c:4015 #12 0xb70cca82 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x19a82) #13 0x805af8f (/usr/local/bin/objdump+0x805af8f) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV /home/hjy/Desktop/binutils-2.29/bfd/elf.c:756 setup_group ==27535==ABORTING -- 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