aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-12-22 22:44:34 +0000
committerNick Clifton <nickc@redhat.com>2014-12-22 22:44:34 +0000
commit058037d3a169c91042c9b8549f7d04fd7550bed6 (patch)
tree04bbe357f30d3cc370dcb9ed325b2acb0b1be1fa /binutils/ChangeLog
parent5860e3f883597cf6b8a937547015394edc1e8784 (diff)
downloadgdb-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 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2833ad0..dc06202b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,18 @@
+2014-12-22 Nick Clifton <nickc@redhat.com>
+
+ 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.
+
2014-12-18 Mark Wielaard <mjw@redhat.com>
* dwarf.c (read_and_display_attr_value): Change display name of