Fix potential buffer overrun in objcopy's note merging code.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 0f5d06b5a699f4458e9f8a5351e4432fb8fc0d4e..2d1a0030883ca7a6b4799251033c77ff737fb63c 100644 (file)
@@ -1,3 +1,70 @@
+2019-11-21  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (merge_gnu_build_notes): Allow for the possibility
+       that the new notes might actually be larger than the original
+       notes.
+
+2019-11-21  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/binutils-common.exp (is_pecoff_format): Rewrite
+       with positive logic and add more target triples.
+
+2019-11-19  Alan Modra  <amodra@gmail.com>
+
+       PR 24499
+       * objcopy.c (copy_file): Ignore --add-gnu-debuglink for archives.
+
+2019-11-19  Alan Modra  <amodra@gmail.com>
+
+       PR 24968
+       * objcopy.c (copy_object): For ELF output and non-ELF input without
+       arch, take arch from output file if not given by -B.  Don't
+       bfd_get_arch_info when we already have iarch.
+
+2019-11-19  Alan Modra  <amodra@gmail.com>
+
+       PR 25191
+       * objcopy.c (is_nondebug_keep_contents_section): Use bfd_get_flavour.
+       (copy_object): Likewise.
+       (setup_section): Likewise.  If flavour of input and output files
+       differ, restrict section flags to the intersection of input and
+       output bfd_applicable_section_flags.
+
+2019-11-19  Alan Modra  <amodra@gmail.com>
+
+       * bucomm.c (bfd_nonfatal_message): Add a space between program
+       name and file.
+
+2019-11-18  Alan Modra  <amodra@gmail.com>
+
+       PR 25198
+       * prdbg.c (tg_start_class_type): Correct scope of idbuf.
+
+2019-11-08  Alan Modra  <amodra@gmail.com>
+
+       PR 25172
+       * objdump.c (usage): Correct --stop-address description.
+
+2019-11-07  Nick Clifton  <nickc@redhat.com>
+
+       * ar.c (open_output_file): Check for filename validity before
+       prefixing with output directory.
+       Display the constructed output filename if in verbose mode.
+       (extract_file): Let open_output_file display the filename.
+
+2019-11-07  Nick Clifton  <nickc@redhat.com>
+
+       * objcopy.c (copy_object): Skip note sections that do not have
+       an output section.  Always copy note sections, even if no
+       changes are made.
+
+2019-11-06  Christian Eggers  <ceggers@gmx.de>
+
+       * readelf.c (IN_RANGE): Rename parameter OFF to NELEM. Add
+       comment.  Catch potential integer overflow and fix off by one
+       error whilst checking reloc location against section size.
+       (apply_relocations): Use IN_RANGE macro.
+
 2019-11-04  Fangrui Song  <maskray@google.com>
 
        * objcopy.c (enum option_values): Add OPTION_KEEP_SECTION.
This page took 0.023385 seconds and 4 git commands to generate.