aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2014-06-09 14:55:02 -0700
committerCary Coutant <ccoutant@google.com>2014-06-09 14:55:02 -0700
commit9baa787b14d9a92067ecb1731407c5abe37d7c3c (patch)
treed4d875ec5c7edc8025a556d34a33cb151323120b /gold/ChangeLog
parent8f89af0abe40c9231f42ad3193a45e8fccb35720 (diff)
downloadgdb-9baa787b14d9a92067ecb1731407c5abe37d7c3c.zip
gdb-9baa787b14d9a92067ecb1731407c5abe37d7c3c.tar.gz
gdb-9baa787b14d9a92067ecb1731407c5abe37d7c3c.tar.bz2
Add check to keep from segfaulting on a corrupt .debug_pubnames section.
gold/ * dwarf_reader.cc (Dwarf_pubnames_table::read_header): Check that unit_length is within section bounds.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 59661a0..151fcde 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,10 @@
2014-06-09 Cary Coutant <ccoutant@google.com>
+ * dwarf_reader.cc (Dwarf_pubnames_table::read_header): Check that
+ unit_length is within section bounds.
+
+2014-06-09 Cary Coutant <ccoutant@google.com>
+
PR gold/16980
* layout.cc (Layout::print_to_mapfile): Print unattached sections in
map.