diff options
author | Nick Clifton <nickc@redhat.com> | 2014-12-22 22:44:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-12-22 22:44:34 +0000 |
commit | 058037d3a169c91042c9b8549f7d04fd7550bed6 (patch) | |
tree | 04bbe357f30d3cc370dcb9ed325b2acb0b1be1fa /bfd/cpu-msp430.c | |
parent | 5860e3f883597cf6b8a937547015394edc1e8784 (diff) | |
download | gdb-058037d3a169c91042c9b8549f7d04fd7550bed6.zip gdb-058037d3a169c91042c9b8549f7d04fd7550bed6.tar.gz gdb-058037d3a169c91042c9b8549f7d04fd7550bed6.tar.bz2 |
More fixes for invalid memory accesses exposed by fuzzed binaries.
PR binutils/17531
* dwarf.c (decode_location_expression): Check for an out of range
value for a DW_OP_GNU_entry_value expression.
(display_debug_lines_raw): Check for a partial
.debug_line. section being encountered without a prior, full
.debug.line section.
(display_debug_lines_decoded): Likewise. Also check for
li_line_range being zero.
(display_debug_pubnames_worker): Check for an invalid pn_length
field.
(read_cie): Add range checks.
* elfcomm.c (setup_archive): Check for a negative longnames_size.
Diffstat (limited to 'bfd/cpu-msp430.c')
0 files changed, 0 insertions, 0 deletions