aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-02-03 20:42:36 +0000
committerNick Clifton <nickc@redhat.com>2015-02-03 20:42:36 +0000
commit570286220e28e606e199b37a06cd199cadb592ba (patch)
tree4bab2058d947ccc70a61bde391202554159aee79 /binutils/ChangeLog
parenta7606d8083c9e217294f6e47a8d2903716c6337c (diff)
downloadgdb-570286220e28e606e199b37a06cd199cadb592ba.zip
gdb-570286220e28e606e199b37a06cd199cadb592ba.tar.gz
gdb-570286220e28e606e199b37a06cd199cadb592ba.tar.bz2
Fix memory access violations triggered by running readelf on fuzzed binaries.
PR binutils/17531 * dwarf.c (process_debug_info): Add range check. (display_debug_pubnames_worker): Likewise. (display_gdb_index): Fix range check. (process_cu_tu_index): Add range check. * readelf.c (get_data): Change parameter types from size_t to bfd_size_type. Add checks for loss of accuracy when casting from bfd_size_type to size_t. (get_dynamic_data): Likewise. (process_section_groups): Limit number of error messages.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 4a6de8d..4e5f4f2 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,18 @@
2015-02-03 Nick Clifton <nickc@redhat.com>
+ PR binutils/17531
+ * dwarf.c (process_debug_info): Add range check.
+ (display_debug_pubnames_worker): Likewise.
+ (display_gdb_index): Fix range check.
+ (process_cu_tu_index): Add range check.
+ * readelf.c (get_data): Change parameter types from size_t to
+ bfd_size_type. Add checks for loss of accuracy when casting from
+ bfd_size_type to size_t.
+ (get_dynamic_data): Likewise.
+ (process_section_groups): Limit number of error messages.
+
+2015-02-03 Nick Clifton <nickc@redhat.com>
+
PR binutils/17512
* objdump.c (display_any_bfd): Fail if archives nest too deeply.