PR23147, Heap buffer overflow in pe_print_idata
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 017899875a7d3f86710a53c02652c70d8ab20ef1..f158067af5960b8c271882ce3b021c2a5a47259f 100644 (file)
@@ -1,3 +1,25 @@
+2018-05-09  Alan Modra  <amodra@gmail.com>
+
+       PR 23147
+       * peXXigen.c (pe_print_idata): Bound check hint_addr.
+
+2018-05-08  Nick Clifton  <nickc@redhat.com>
+
+       PR 22809
+       * elf.c (bfd_elf_get_str_section): Check for an excessively large
+       string section.
+       * elf-attrs.c (_bfd_elf_parse_attributes): Issue an error if the
+       attribute section is larger than the size of the file.
+
+2018-05-07  Alan Modra  <amodra@gmail.com>
+
+       * cofflink.c (_bfd_coff_link_input_bfd): Use memcmp rather than
+       strncmp when checking for ".bf" special symbol.
+       * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Make pe_required_section_flags
+       section name a char array, remove sentinal known_sections entry,
+       and adjust loop over known_sections to suit.  Use memcmp rather
+       than strncmp.
+
 2018-05-04  Alan Modra  <amodra@gmail.com>
 
        * elf-linux-core.h (struct elf_external_linux_prpsinfo32_ugid32),
@@ -18,6 +40,7 @@
        pragmas.
        * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Use strnlen to avoid
        false positive gcc-8 warning.
+       * cofflink.c (_bfd_coff_link_input_bfd): Likewise.
 
 2018-05-04  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
 
This page took 0.028827 seconds and 4 git commands to generate.