PR24876, readelf: heap-buffer-overflow in dump_ia64_unwind
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 76d9d529d8b90f71e1b404118e5dbf9377ad8d3b..f60d5ffbb02ab04bc444f94c2c84b47a43d98608 100644 (file)
@@ -1,3 +1,197 @@
+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
+       * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
+       indicate this in the output.
+       (bfd_nonfatal_message): Likewise.
+
+2019-06-25  Jan Beulich  <jbeulich@suse.com>
+
+       * readelf.c (dump_ctf_indent_lines): Rename local variable
+       "spaces" to "blanks".
+
+2019-06-25  Jan Beulich  <jbeulich@suse.com>
+
+       * objdump.c (dump_ctf_indent_lines): Rename local variable
+       "spaces" to "blanks".
+
+2019-06-14  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2019-06-12  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24663
+       * readelf.c (process_netbsd_elf_note): Add support for
+       NT_NETBSD_PAX.
+       (process_note): Add support for PaX notes.
+
+2019-06-12  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24665
+       * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
+       core notes.
+
+2019-06-12  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24664
+       * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
+       auxv notes.
+
+2019-06-11  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24662
+       * readelf.c (get_alpha_symbol_other): New function.
+       (get_symbol_other): Use for Alpha symbols.
+       (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
+
+2019-06-11  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24661
+       * readelf.c (decode_arm_unwind): Ensure that the local variable
+       'addr' is always initialised.
+
+2019-06-10  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24651
+       * strings.c (print_strings): Use %u to print unsigned values in
+       decimal.
+
+2019-06-10  Christos Zoulas  <christos@zoulas.com>
+
+       PR 24649
+       * arsup.c (ar_open): Use asprintf in place of xmalloc and
+       sprintf.
+
+2019-06-03  Nick Clifton  <nickc@redhat.com>
+
+       Revert:
+       2019-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * configure.ac (LIBCTF): Export.  Set to empty for non-ELF based
+       targets.
+       (HAVE_LIBCTF): Define if libctf support is available.
+       * Makefile.am (LIBCTF): Set value to @LIBCTF@.
+       * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
+       defined.
+       * readelf.c: Likewise.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+
+2019-05-30  Nick Alcock  <nick.alcock@oracle.com>
+
+       * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
+       cts_offset.
+       * readelf.c (shdr_to_ctf_sect): Likewise.
+
+2019-05-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 24627
+       * readelf.c (process_version_sections): Add 0x prefix to address
+       display.  Correct indentation.
+
 2019-05-30  Alan Modra  <amodra@gmail.com>
 
        * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
This page took 0.024492 seconds and 4 git commands to generate.