asan: aout: heap buffer overflow
authorAlan Modra <amodra@gmail.com>
Sat, 23 Oct 2021 00:57:14 +0000 (11:27 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 24 Oct 2021 11:06:32 +0000 (21:36 +1030)
commit3f9661f12a42583c91655bc5c5b60542bcaed4e2
tree7c9771edd280b3a23065aa4a06facd9cfa6b1564
parent560b3fe208255ae909b4b1c88ba9c28b09043307
asan: aout: heap buffer overflow

* aoutx.h (aout_get_external_symbols): Sanity check before writing
zero index entry.  Remove outdated comment.
* pdp11.c (aout_get_external_symbols): Likewise.
bfd/aoutx.h
bfd/pdp11.c