Fix address violation parsing a corrupt IEEE Alpha binary.
authorNick Clifton <nickc@redhat.com>
Wed, 21 Jun 2017 10:13:49 +0000 (11:13 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Jun 2017 10:13:49 +0000 (11:13 +0100)
commitcb06d03ad92ffcfaa09c3f065837cb39e9e1486d
tree458bb2fbf265d7c727cbd9dc027ff4aa794bc621
parentc458d0079cc5e8ff29256355e6532ad2f96a8aa6
Fix address violation parsing a corrupt IEEE Alpha binary.

PR binutils/21637
* vms-alpha.c (_bfd_vms_slurp_egsd): Check for an empty section
list.
(image_set_ptr): Likewise.
(alpha_vms_fix_sec_rel): Likewise.
(alpha_vms_slurp_relocs): Likewise.
bfd/ChangeLog
bfd/vms-alpha.c