Fixes for memory access violations triggered by running readelf on fuzzed binaries.
authorNick Clifton <nickc@redhat.com>
Fri, 13 Feb 2015 14:17:18 +0000 (14:17 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 13 Feb 2015 14:17:18 +0000 (14:17 +0000)
commitffc0f143c74a7d49f6d1ae3f835e404ef4e56772
tree3d16ae7b357dfb1ca9535190c3973febc9b5067c
parent951eaaec17411eba4debe19781f6b8b54306256e
Fixes for memory access violations triggered by running readelf on fuzzed binaries.

PR binutils/17531
* dwarf.c (display_debug_aranges): Add check for an excessive
ar_length value.
(process_cu_tu_index): Check for a row * columns sum being too
large.
binutils/ChangeLog
binutils/dwarf.c