Fix address violation when parsing a corrupt IEEE binary.
authorNick Clifton <nickc@redhat.com>
Wed, 21 Jun 2017 09:54:04 +0000 (10:54 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 21 Jun 2017 09:54:04 +0000 (10:54 +0100)
commitc458d0079cc5e8ff29256355e6532ad2f96a8aa6
tree1123be843eef3a6577d0f1093837f4be2d2236b5
parentce49701009db42a9a53e5dcf172a6a211b1025b3
Fix address violation when parsing a corrupt IEEE binary.

PR binutils/21633
* ieee.c (ieee_slurp_sections): Check for a NULL return from
read_id.
(ieee_archive_p): Likewise.
(ieee_object_p): Likewise.
bfd/ChangeLog
bfd/ieee.c