Fixes a few more memory access violations exposed by fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Thu, 27 Nov 2014 12:19:10 +0000 (12:19 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 27 Nov 2014 12:19:10 +0000 (12:19 +0000)
commit1036838a771b96ad9428e8fc7ecc45d3d8e056ce
treeb2908f515505401f6bada294ce7a2ca23797c5d5
parent608ce2f3c8b1fb309f50b6426389282ec6031323
Fixes a few more memory access violations exposed by fuzzed binaries.

PR binutils/17512
* ecoff.c (_bfd_ecoff_slurp_symbol_table): Warn about and correct
a discrepancy between the isymMax and ifdMax values in the
symbolic header.
* elf.c (_bfd_elf_print_private_bfd_data): Fix the range check
scanning the external dynamic entries.
bfd/ChangeLog
bfd/ecoff.c
bfd/elf.c