Prevent a buffer overrun when parsing corrupt STABS debug information.
authorNick Clifton <nickc@redhat.com>
Tue, 13 Mar 2018 17:03:04 +0000 (17:03 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 13 Mar 2018 17:03:04 +0000 (17:03 +0000)
commite45ad1239d7d8591d5e80d8cbba7d404c6c3640f
tree90569ed241dc0202892a8eefdb677d61057978db
parentb4a3689a68d88291d5aa73b9179322f58b562db7
Prevent a buffer overrun when parsing corrupt STABS debug information.

PR 22957
* stabs.c (pop_binincl): Fail if the file index is off the end of
the stack.
binutils/ChangeLog
binutils/stabs.c