coff object_p memory leaks
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a1e5273674e65bd931f03579053941a2822ca98b..809f1ba56d47b7d367db7b1c1a4c66940466dcf5 100644 (file)
@@ -1,3 +1,18 @@
+2019-12-30  Alan Modra  <amodra@gmail.com>
+
+       * coffgen.c (coff_real_object_p): Free malloc'd memory on failure.
+
+2019-12-30  Alan Modra  <amodra@gmail.com>
+
+       * archive.c (do_slurp_bsd_armap): Use bfd_alloc rather than
+       bfd_zalloc when memory is all written after the call.
+       (do_slurp_coff_armap): Likewise.  Set bfd_error on ridiculously
+       large allocations that overflow bfd_size_type.  Use just one
+       bfd_release on error exit.
+       (_bfd_slurp_extended_name_table): Use bfd_alloc for extended_names,
+       clear last byte rather than the entire array.  Use bfd_alloc for
+       string table.  Rearrange and simplify code copying file names.
+
 2019-12-29  Alan Modra  <amodra@gmail.com>
 
        * vms-alpha.c (_bfd_vms_slurp_egsd): Make base_addr a bfd_vma.
This page took 0.02355 seconds and 4 git commands to generate.