Fix seg-fault in the linker when examining a corrupt binary.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 16:41:14 +0000 (16:41 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 16:41:14 +0000 (16:41 +0000)
commit531336e3a0b79ed60cfc36ad2d6579b6a71175da
treef8ed9fd8bbeb6fb51e31e7ac6af7640dbe5a5e62
parent0c1b455e294c6debb4efedc7f1346f3c43249f15
Fix seg-fault in the linker when examining a corrupt binary.

PR ld/20909
* aoutx.h (aout_link_add_symbols): Fix off-by-one error in check
for an illegal string offset.
bfd/ChangeLog
bfd/aoutx.h