diff options
author | Nick Clifton <nickc@redhat.com> | 2015-02-04 10:40:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-02-04 10:48:46 +0000 |
commit | f3853b34448594744f284fa96f26e41fd533a50d (patch) | |
tree | f8415afad58dbd56297468e5a65c437161fbdf53 /gdb/tui/tui-io.c | |
parent | 80bd5fab6252d1cdff1ca95096ebe9b3053c8ec3 (diff) | |
download | gdb-f3853b34448594744f284fa96f26e41fd533a50d.zip gdb-f3853b34448594744f284fa96f26e41fd533a50d.tar.gz gdb-f3853b34448594744f284fa96f26e41fd533a50d.tar.bz2 |
More fixes for memory access violations triggered by running readelf on fuzzed binaries.
PR binutils/17531
* dwarf.c (read_and_display_attr_value): Test for a block length
being so long that it wraps around to before the start of the block.
(process_debug_info): Test for section_begin wrapping around to
before the start of the section.
(display_gdb_index): Test for num_cus being so large that the end
address wraps around to before the start of the section.
(process_cu_tu_index): Test for j being so large that the section
index pool wraps around to before the start of the section.
Diffstat (limited to 'gdb/tui/tui-io.c')
0 files changed, 0 insertions, 0 deletions