This fixes more seg-faults in tools like "strings" and "objdump" when
authorNick Clifton <nickc@redhat.com>
Mon, 27 Oct 2014 18:05:37 +0000 (18:05 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Oct 2014 18:05:37 +0000 (18:05 +0000)
commitbf67003b4567600ed3022a439207ac8f26454f91
tree33fa9e16a2f8cab9f2818d9433ad5c8140de8ee9
parent7e1e19887abd24aeb15066b141cdff5541e0ec8e
This fixes more seg-faults in tools like "strings" and "objdump" when
presented with corrupt binaries.

PR binutils/17512
* elf.c (bfd_section_from_shdr): Detect and warn about ELF
binaries with a group of sections linked by the string table
indicies.
* peXXigen.c (pe_print_edata): Detect out of range rvas and
entry counts for the Export Address table, Name Pointer table
 and Ordinal table.
bfd/ChangeLog
bfd/elf.c
bfd/peXXigen.c