Fix an illegal memory access when parsing corrupt DWARF debug information.
authorNick Clifton <nickc@redhat.com>
Mon, 8 Jun 2020 10:24:06 +0000 (11:24 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 8 Jun 2020 10:24:06 +0000 (11:24 +0100)
commitc4b2f181c3d2ddc681ce42bf60bfa874e44b1cfe
tree95813f7860043bc95dba23e43ced6436e95f92eb
parent9f3e7dbcbaa7d6dc86d04f40197d8d4331222222
Fix an illegal memory access when parsing corrupt DWARF debug information.

PR 26086
* dwarf.c (process_debug_info): Check that there is space in the
debug_information array before filling in an entry.
binutils/ChangeLog
binutils/dwarf.c