More fixes for memory corruption when readelf processes corrupt files.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 58d698407a6e702b371784740dc788c6e53ed75d..f3c719631826bc0afbf4c61ddb8818416b05208d 100644 (file)
@@ -1,3 +1,182 @@
+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.
+
+2014-10-14  Alan Modra  <amodra@gmail.com>
+
+       PR 17453
+       * dwarf.c (read_leb128): Avoid signed overflow.
+       (read_debug_line_header): Likewise.
+
+2014-10-14  Alan Modra  <amodra@gmail.com>
+
+       PR 17453
+       * readelf.c (process_program_headers): Correct fscanf format used
+       for interpreter.
+
+2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * readelf.c (display_sparc_hwcaps2): New function.
+       (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
+       handling `Tag_GNU_Sparc_HWCAPS2' attributes.
+
+2014-09-22  Alan Modra  <amodra@gmail.com>
+
+       PR 16563
+       * dwarf.c (GET): Remove semicolon.
+       (read_cie): New function, extracted from..
+       (display_debug_frames): ..here.  Correctly handle signed offset
+       from FDE to CIE in .eh_frame.  Decode forward referenced CIEs too.
+
+2014-09-16  Nick Clifton  <nickc@redhat.com>
+
+       * readelf.c (display_arm_attribute): Use unsigned int type for
+       tag, val and type variables.
+
+2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
+
+2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * readelf.c (get_machine_flags): Add support for mips32r6 and
+       mips64r6.
+
+2014-09-01  Jon TURNEY  <jon.turney@dronecode.org.uk>
+
+       * objcopy.c (is_nondebug_keep_contents_section): Change
+       '.build-id' to '.buildid'.
+
+2014-08-22  Richard Henderson  <rth@redhat.com>
+
+       * dwarf.h (init_dwarf_regnames_aarch64): Declare.
+       * dwarf.c (dwarf_regnames_aarch64): New.
+       (init_dwarf_regnames_aarch64): New.
+       (init_dwarf_regnames): Call it.
+       * objdump.c (dump_dwarf): Likewise.
+
+2014-08-19  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2014-08-14  Alan Modra  <amodra@gmail.com>
+
+       * configure.ac: Move ACX_LARGEFILE after LT_INIT.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
+       (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
+       (display_mips_gnu_attribute): Abstracted fp abi printing to...
+       (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
+       (print_mips_ases, print_mips_isa_ext): New static functions.
+       (get_mips_reg_size): Likewise.
+       (process_mips_specific): Display abiflags data.
+
+2014-07-28  Alan Modra  <amodra@gmail.com>
+
+       PR 13227
+       * nm.c (filter_symbols): Warn on __gnu_lto_slim.
+
 2014-07-07  Nick Clifton  <nickc@redhat.com>
 
        * readelf.c (get_symbol_type): Revert accidental change to
 
 2014-03-14  Meador Inge  <meadori@codesourcery.com>
 
-         * dwarf.c (strnlen): Move prototype ...
-        * sysdep.h (strnlen): ... to here.
+       * dwarf.c (strnlen): Move prototype ...
+       * sysdep.h (strnlen): ... to here.
 
 2014-03-12  Nick Clifton  <nickc@redhat.com>
 
This page took 0.024984 seconds and 4 git commands to generate.