Large memory allocation reading fuzzed 64-bit archive
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 821978cf6a8d1b573793774ab513ca1ecbaf3e77..9f1a9424ae490d6998294421b5402352e0ee4fa9 100644 (file)
@@ -1,3 +1,9 @@
+2020-03-05  Alan Modra  <amodra@gmail.com>
+
+       * archive64.c (_bfd_archive_64_bit_slurp_armap): Check parsed_size
+       against file size before allocating memory.  Use bfd_alloc rather
+       than bfd_zalloc for carsym/strings memory.
+
 2020-03-04  Alan Modra  <amodra@gmail.com>
 
        * elf.c (elf_fake_sections): Ensure sh_addralign is such that
This page took 0.023995 seconds and 4 git commands to generate.