public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* BFD overflows (part 2)
@ 2005-05-12 12:50 Mike Frysinger
  2005-05-12 16:21 ` BFD overflows (part 2) [first patch] Mike Frysinger
  2005-05-17 18:25 ` BFD overflows (part 2) Nick Clifton
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Frysinger @ 2005-05-12 12:50 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

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

[-- Attachment #2: strings.024.bz2 --]
[-- Type: application/x-bzip2, Size: 8914 bytes --]

[-- Attachment #3: strings.095.bz2 --]
[-- Type: application/x-bzip2, Size: 8896 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-18  8:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-12 12:50 BFD overflows (part 2) Mike Frysinger
2005-05-12 16:21 ` BFD overflows (part 2) [first patch] Mike Frysinger
2005-05-17 17:16   ` Nick Clifton
2005-05-17 18:25 ` BFD overflows (part 2) Nick Clifton
2005-05-17 22:00   ` H. J. Lu
2005-05-18  8:09     ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).