Fix invalid memory access displayiing contents of sections.
[binutils-gdb.git] / binutils / ChangeLog
index ebaedccf7cbc4e51a0e64b8ee96b9997de131c8b..9d3f7e2a26621aabecc8524bc68bfb0e1e736df3 100644 (file)
@@ -1,3 +1,55 @@
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21159
+       * readelf.c (dump_section_as_strings): Reset the start address if
+       no decompression is perfromed.
+       (dump_section_as_bytes): Likewise.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21158
+       * rddbg.c (read_symbol_stabs_debugging_info): Check for a null or
+       empty symbol name.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21157
+       * stabs.c (parse_stab_enum_type): Check for corrupt NAME:VALUE
+       pairs.
+       (parse_number): Exit early if passed an empty string.
+
+2017-02-14  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21155
+       * readelf.c (IN_RANGE): New macro.  Tests for an address + offset
+       being within a given range.
+       (target_specific_reloc_handling): Use macro to test for underflow
+       as well as overflow of reloc offset.
+
+2017-02-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21150
+       * nm.c (file_symbol): Add test of string length before testing
+       string characters.
+
+2017-02-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21135
+       * readelf.c (dump_section_as_bytes): Handle the case where
+       uncompress_section_contents returns false.
+       (dump_section_as_bytes, load_specific_debug_section): Likewise.
+
+2017-02-13  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/21149
+       * readelf.c (get_compression_header): Add size parameter.  Check
+       size against sizeof compression header before attempting to
+       extract the header.
+       (process_section_headers): Pass size to get_compression_header.
+       (dump_section_as_strings): Likewise.
+       (dump_section_as_bytes): Likewise.
+       (load_specific_debug_section): Likewise.
+
 2017-02-13  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/21148