More fixes for memory corruption when readelf processes corrupt files.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 23a41043747def064fc8d753901758f47c4e4a91..f3c719631826bc0afbf4c61ddb8818416b05208d 100644 (file)
@@ -1,3 +1,99 @@
+2014-11-04  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17531
+       * readelf.c (get_data): If the reason parameter is null, do not
+       print any error messages.
+       (get_32bit_section_headers): Verify section header entry size
+       before reading in the section headers.
+       (get_64bit_section_headers): Likewise.
+       (process_section_headers): Pass FALSE to get_section_headers.
+       (get_file_header): Pass TRUE to get_section_headers.
+       (process_dynamic_section): Change an assert to an error message.
+       (process_symbol_table): Handle corrupt histograms.
+
+       (get_32bit_program_headers): Verify program header entry size
+       before reading in the program headers.
+       (get_64bit_program_headers): Likewise.
+       (get_unwind_section_word): Do nothing if no section was provided.
+       Fail if the offset is outside of the section.
+       (print_dynamic_symbol): Catch out of range symbol indicies.
+       (process_mips_specific): Likewise.
+       (process_attributes): Make sure that there is enough space left in
+       the section before attempting to read the length of the next
+       attribute.
+
+2014-11-03  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * objdump.c (slurp_symtab): Fail gracefully if the table could not
+       be read.
+       (dump_relocs_in_section): Likewise.
+
+2014-11-03  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+       * po/sv.po: Updated Swedish translation.
+
+2014-11-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       * readelf.c (get_32bit_elf_symbols): Cast error
+       parameters of bfd_size_type with the %lx format to
+       unsigned long.
+
+2014-10-31  Andrew Pinski  <apinski@cavium.com>
+            Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
+
+       * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
+
+2014-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * cxxfilt.c (main): Add case for dlang_demangling style.
+
+2014-10-31  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/17512
+       * readelf.c (process_program_headers): Avoid memory exhaustion due
+       to corrupt values in a dynamis segment header.
+       (get_32bit_elf_symbols): Do not attempt to read an over-large
+       section.
+       (get_64bit_elf_symbols): Likewise.
+
+2014-10-31  Nick Clifton  <nickc@redhat.com>
+
+       * strings.c: Add new command line option --data to only scan the
+       initialized, loadable data secions of binaries.  Choose the
+       default behaviour of --all or --data based upon a configure
+       option.
+       * doc/binutils.texi (strings): Update documentation.  Include
+       description  of why the --data option might be unsafe.
+       * configure.ac: Add new option --disable-default-strings-all which
+       restores the old behaviour of strings using --data by default.  If
+       the option is not used make strings use --all by default.
+       * NEWS: Mention the new behaviour of strings.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2014-10-30  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
+       there is a single string for translation.
+       (dynamic_section_mips_val): Likewise.
+
+2014-10-29  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+       * po/sr.po: New Serbian translation.
+       * po/sv.po: Updated Swedish translation.
+
+2014-10-22  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * readelf.c (print_mips_ases): Print unknown ASEs.
+       (print_mips_isa_ext): Print the value of an unknown extension.
+
+2014-10-15  Tristan Gingold  <gingold@adacore.com>
+
+       * configure: Regenerate.
+
 2014-10-14  Tristan Gingold  <gingold@adacore.com>
 
        * NEWS: Add marker for 2.25.
This page took 0.023311 seconds and 4 git commands to generate.