Fix memory access violations triggered by running dlltool on corrupt binaries.
authorNick Clifton <nickc@redhat.com>
Tue, 27 Jan 2015 11:30:15 +0000 (11:30 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 27 Jan 2015 11:30:15 +0000 (11:30 +0000)
commit37e3922eed415bbedd2dd6e46308fe9e03417770
tree8abfb2fd6fcbe0fc85278e378abe890aca1553c1
parent20d79870f35f646e87c43d8c4fee936b4e0ed5a6
Fix memory access violations triggered by running dlltool on corrupt binaries.

PR binutils/17512
* dlltool.c (identify_search_archive): If the last archive was the
same as the current archive, terminate the loop.

* pdp11.c (aout_get_external_symbols): Return false if there are
no symbols.
bfd/ChangeLog
bfd/pdp11.c
binutils/ChangeLog
binutils/dlltool.c