Integer overflows in readelf get_data
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 07c8bb69d2af7bf6d53ed96d08ff525a51a1d915..b60ae64b2729a3150095554dfdbad01b598bde06 100644 (file)
@@ -1,3 +1,123 @@
+2019-08-08  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (get_data): Improve overflow checks.
+
+2019-08-07  Nick Clifton  <nickc@redhat.com>
+
+       PR 24777
+       * doc/binutils.texi: Ensure consistent formating of title strings
+       for man pages.  Extend the title of the size man page to be more
+       informative.
+
+2019-08-07  Omair Majid  <omajid@redhat.com>
+
+       * testsuite/binutils-all/objdump.exp
+       (test_objdump_dotnet_assemblies): Fix test to distinguish errors
+       in parsing simple pei-i386 and pei-x86-64 vs parsing the newly
+       introduced machine types.
+       * testsuite/gentestdlls.c (write_simple_dll): New function.
+       (main): Generate simple and Linux-specific variants of pei-i386
+       and pei-x86-64 files so both can be used by tests.
+
+2019-08-07  Alan Modra  <amodra@gmail.com>
+
+       PR 24876
+       * readelf.c (dump_ia64_unwind): Check that buffer is large
+       enough for "stamp" before reading.
+
+2019-08-05  Nick Clifton  <nickc@redhat.com>
+
+       PR 24874
+       * objcopy.c (merge_gnu_build_notes): Do not insist on the first
+       note being a version note.
+       Remove spurious debugging fprintf.
+
+2019-08-05  Nick Clifton  <nickc@redhat.com>
+
+       PR 24829
+       * readelf.c (apply_relocations): Catch potential integer overflow
+       whilst checking reloc location against section size.
+
+2019-08-02  Alan Modra  <amodra@gmail.com>
+
+       PR 24871
+       * readelf.c (ABSADDR): Delete.
+       (dump_ia64_unwind): Expand ABSADDR.  Check validity of info.section.
+
+2019-07-29  Martin Liska  <mliska@suse.cz>
+
+       PR 24768
+       * nm.c (filter_symbols): Set report_plugin_err if
+       error is reported.
+       (display_rel_file): Report error for a missing LTO plugin.
+
+2019-07-26  Alan Modra  <amodra@gmail.com>
+
+       PR 24798
+       * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
+       systems by casting ncols and nslots expressions to size_t.  Display
+       number of columns and slots before giving up due to buffer overflow.
+       Use %u to display unsigned ints.  Perform more pointer wrap tests.
+
+2019-07-25  Tom Tromey <tromey@adacore.com>
+
+       PR 24809
+       * dwarf.c (display_debug_names): Display the contents of the
+       augmentation string, if it is printable.
+
+2019-07-25  Nick Clifton  <nickc@redhat.com>
+
+       PR 24837
+       * readelf.c (process_mips_specific): Check for buffer overflow
+       before reading reginfo information.
+
+2019-07-24  Nick Clifton  <nickc@redhat.com>
+
+       PR 13256
+       * ar.c (decode_options): Restart option scanning if no operation
+       is detected and argument remain to be scanned.
+
+2019-07-23  Nick Clifton  <nickc@redhat.com>
+
+       PR 24818
+       * objdump.c (is_relocateable): Delete.
+       (load_specific_debug_section): Test the abfd for relocations
+       directly, rather than relying upon is_relocateable.
+       (dump_dwarf): Delete initlialization of is_relocateable.
+
+2019-07-23  Alan Modra  <amodra@gmail.com>
+
+       * readelf.c (get_parisc_segment_type): Split off hpux entries..
+       (get_ia64_segment_type): ..and these..
+       (get_hpux_segment_type): ..to here.
+       (get_segment_type): Condition GNU_MBIND on osabi.  Use
+       get_hpux_segment_type.
+       (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
+       (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
+
+2019-07-23  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/binutils-all/objcopy.exp (elf64): Correct object
+       file used to set this variable.
+
+2019-07-23  Omar Majid  <omajid@redhat.com>
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
+       (GENTESTDLLSPROG): Define.
+       (TEST_PROGS): Add GENTESTDLLSPROG.
+       * Makefile.in: Regenerate.
+       * testsuite/binutils-all/objdump.exp
+       (test_objdump_dotnet_assemblies): New proc.
+       Run the new proc.
+       * testsuite/gentestdlls.c: New source file.
+
+2019-06-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 24707
+       * objdump.c (slurp_symtab): Fail with a helpful error message if
+       the symbol table is too large.  Skip this check for MMO format
+       files.
+
 2019-06-26  Nick Clifton  <nickc@redhat.com>
 
        PR 24703
This page took 0.024681 seconds and 4 git commands to generate.