Fixes for memory access violations triggered by running readelf on fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Tue, 10 Feb 2015 17:13:31 +0000 (17:13 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 10 Feb 2015 17:13:31 +0000 (17:13 +0000)
commit03a91817f163986f10cb843f58e2f2cd9186e4f0
tree191b2434a366bef2d4e25cd84dacf420123da541
parent77ef86547510cee3a2bff27bea9f19f0b2715bae
Fixes for memory access violations triggered by running readelf on fuzzed binaries.

PR binutils/17531
* dwarf.c (process_debug_info): Zero the debug information array
since correct initialisation cannot be relied upon.
(process_cu_tu_index): Improve range checks.
binutils/ChangeLog
binutils/dwarf.c