Fix access violation disassembling a corrupt VMS binary.
authorNick Clifton <nickc@redhat.com>
Mon, 19 Jun 2017 12:01:57 +0000 (13:01 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 19 Jun 2017 12:01:57 +0000 (13:01 +0100)
commit80053e466b3a8055334b9be9bac7d99e0d617cbe
tree08f6c962fca058105b37806d90a399c81452a3a8
parent16b7a7199881fa26fc863279bbf08741e5674b5d
Fix access violation disassembling a corrupt VMS binary.

PR binutils/21611
* vms-alpha.c (_bfd_vms_slurp_eihs): Check for invalid offset
before reading the EIHS structure entries.
bfd/ChangeLog
bfd/vms-alpha.c