BFD overflows (part 2)
Mike Frysinger
vapier@gentoo.org
Thu May 12 12:50:00 GMT 2005
the previous patch by Alan Modra fixed up many of the test cases we've been
using, but there's still some left that cause strings to segfualt (tested
against vanilla binutils-2.16.90.0.3)
find attached two binaries which trigger segfaults in different locations
strings.024:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000419f37 in bfd_section_from_shdr (abfd=0x584090, shindex=20)
at elf.c:1751
1751 if (elf_elfsections (abfd)[hdr->sh_link]->sh_type != SHT_STRTAB)
strings.095:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000418678 in bfd_elf_string_from_elf_section (abfd=0x4643a0,
shindex=5784064, strindex=47) at elf.c:280
280 {
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strings.024.bz2
Type: application/x-bzip2
Size: 8914 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050512/8fe17e75/attachment.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strings.095.bz2
Type: application/x-bzip2
Size: 8896 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050512/8fe17e75/attachment-0001.bz2>
More information about the Binutils
mailing list