Fixes memory access violations triggered by running dlltool on fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Thu, 22 Jan 2015 12:06:04 +0000 (12:06 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 22 Jan 2015 12:06:04 +0000 (12:06 +0000)
commit4e5cb37e7f3403d5398a323566ff9c995f0c9a81
tree6c1f448ab158160c868ef83e3e3251a90b5b39ef
parentb01a4b043a5b08e1208b1fedd61a6f3d65a328e0
Fixes memory access violations triggered by running dlltool on fuzzed binaries.

PR binutils/17512
* coffcode.h (handle_COMDAT): When searching for the section
symbol, make sure that there is space left in the symbol table.
* vms-alpha.c (_bfd_vms_slurp_ehdr): Add range checks.
bfd/ChangeLog
bfd/coffcode.h
bfd/vms-alpha.c