aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-01-05 13:54:22 +0000
committerNick Clifton <nickc@redhat.com>2015-01-05 13:54:22 +0000
commit82b1b41bcdc6d01fdbd94b246e24a8a8f8c2bddd (patch)
tree757eaffeeb7a220f257326d6d7e366d0713187be /binutils/ChangeLog
parentc1724c7fd39d85ccc1f94a0cd7bc25b19aa43ffd (diff)
downloadgdb-82b1b41bcdc6d01fdbd94b246e24a8a8f8c2bddd.zip
gdb-82b1b41bcdc6d01fdbd94b246e24a8a8f8c2bddd.tar.gz
gdb-82b1b41bcdc6d01fdbd94b246e24a8a8f8c2bddd.tar.bz2
More fixes for invalid memory accesses triggered by fuzzed binaries.
PR binutils/17531 * dwarf.c (alloc_num_debug_info_entries): New variable. (process_debug_info): Set it. Use it to avoid displaying attributes for which there is no info. (display_debug_abbrev): Check that the debug_info_entry index is valid before using it. (display_loc_list_dwo): Likewise. (process_cu_tu_index): Add range check for an overlarge dw_sect value. (free_debug_memory): Reset alloc_num_debug_info_entries. * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not be indentified. (dynamic_section_mips_val): Warn if the timestamp is invalid. (print_mips_got_entry): Add a data_end parameter. Warn if a read would go beyond the end of the data, and return an error value. (process_mips_specific): Do not read options from beyond the end of the section. Correct code to display optional data at the end of an option. Warn if there are too many GOT symbols. Update calls to print_mips_got_entry, and handle error returns.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d932fa2..ab35da9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,26 @@
+2015-01-05 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/17531
+ * dwarf.c (alloc_num_debug_info_entries): New variable.
+ (process_debug_info): Set it. Use it to avoid displaying
+ attributes for which there is no info.
+ (display_debug_abbrev): Check that the debug_info_entry index is
+ valid before using it.
+ (display_loc_list_dwo): Likewise.
+ (process_cu_tu_index): Add range check for an overlarge dw_sect
+ value.
+ (free_debug_memory): Reset alloc_num_debug_info_entries.
+ * readelf.c (slurp_ia64_unwind_table): Warn if the reloc could not
+ be indentified.
+ (dynamic_section_mips_val): Warn if the timestamp is invalid.
+ (print_mips_got_entry): Add a data_end parameter. Warn if a read
+ would go beyond the end of the data, and return an error value.
+ (process_mips_specific): Do not read options from beyond the end
+ of the section.
+ Correct code to display optional data at the end of an option.
+ Warn if there are too many GOT symbols.
+ Update calls to print_mips_got_entry, and handle error returns.
+
2015-01-05 Daniel Klauer <daniel.c.klauer@web.de>
PR binutils/17489