Re: PR25993, read of freed memory
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index bc51d862ea9151f160281c73c7639c8b0d7fb9aa..3dc0356928ad6a3a06cbc5c9f3fa4d134e725b18 100644 (file)
@@ -1,3 +1,11 @@
+2020-05-21  Alan Modra  <amodra@gmail.com>
+
+       PR 25993
+       * opncls.c (_bfd_free_cached_info): Keep a copy of the bfd
+       filename.
+       (_bfd_delete_bfd): Free the copy.
+       (_bfd_new_bfd): Free nbfd->memory on error.
+
 2020-05-21  Alan Modra  <amodra@gmail.com>
 
        * aoutx.h: Replace "if (x) free (x)" with "free (x)" throughout.
This page took 0.023214 seconds and 4 git commands to generate.