Fix a seg-fault in strings and other binutuils when parsing a corrupt PE
authorNick Clifton <nickc@redhat.com>
Mon, 27 Oct 2014 14:45:06 +0000 (14:45 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Oct 2014 14:45:06 +0000 (14:45 +0000)
commit7e1e19887abd24aeb15066b141cdff5541e0ec8e
treeb52a13ec32682268ebde349a83ca07ac11a2b215
parent493a33860c71cac998f1a56d6d87d6faa801fbaa
Fix a seg-fault in strings and other binutuils when parsing a corrupt PE
executable with an invalid value in the NumberOfRvaAndSizes field of the
AOUT header.

PR binutils/17512
* peXXigen.c (_bfd_XXi_swap_aouthdr_in): Handle corrupt binaries
with an invalid value for NumberOfRvaAndSizes.
bfd/ChangeLog
bfd/peXXigen.c