Fix illegal memory access triggered when parsing a PE binary with a corrupt data...
authorNick Clifton <nickc@redhat.com>
Tue, 31 Oct 2017 14:29:40 +0000 (14:29 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 31 Oct 2017 14:29:40 +0000 (14:29 +0000)
commit0bb6961f18b8e832d88b490d421ca56cea16c45b
treeabfdb80a84ee56a422f7f3605f4461f5228a5c40
parent45ac8f4f107f50d77a8514ee8a244b82c1a8ea0c
Fix illegal memory access triggered when parsing a PE binary with a corrupt data dictionary.

PR 22373
* peicode.h (pe_bfd_read_buildid): Check for invalid size and data
offset values.
bfd/ChangeLog
bfd/peicode.h