Prevent a seg-fault in the linker when accessing a specially crafted, corrupt, aout...
authorNick Clifton <nickc@redhat.com>
Fri, 19 Feb 2016 15:55:06 +0000 (15:55 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Feb 2016 15:55:06 +0000 (15:55 +0000)
commite517df3dbf7556ddb389228d713a804594ee3c1f
treea396f3f8dd158529a85a360a37895979e8cde692
parent737684142b3f7dfa6d440c8363750911a8ac20ce
Prevent a seg-fault in the linker when accessing a specially crafted, corrupt, aout binary.

PR ld/19629
* aoutx.h (aout_link_add_symbols): Check for out of range string
table offsets.
bfd/ChangeLog
bfd/aoutx.h