This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BFD overflows (part 2) [first patch]


Hi Mike, Hi Tavis,

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)

find attached a small patch against mainline written by Tavis Ormandy <taviso@gentoo.org> to fix this case

Thanks for submitting this patch - I have applied it to the mainline sources.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]