Fix seg-fault in objdump when run on a fuzzed PE binary.
authorNick Clifton <nickc@redhat.com>
Wed, 14 Sep 2016 14:32:01 +0000 (15:32 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Sep 2016 14:32:01 +0000 (15:32 +0100)
commite6d042fe27102cb789407ccb2ec1663aa9c65129
treeb94536264ce84eb6a3a0a029c60bc878012f7ecf
parentfc7514d6f2784390b7e6c65c0c9603ede0203f58
Fix seg-fault in objdump when run on a fuzzed PE binary.

PR binutils/20605
* peicode.h (pe_bfd_read_buildid): Check that the Data Directory
contains a valid size for the Debug directory.
bfd/ChangeLog
bfd/peicode.h