[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/30060] ASAN error: in bfd_cache_close /buildworker/marxinb
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/30060] ASAN error: in bfd_cache_close /buildworker/marxinbox-cross-binutils-sanitizers/build/bfd/cache.c:532 |
Date: |
Tue, 31 Jan 2023 04:52:51 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30060
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6296342ec4473352483eaa82f0553d4a209319a1
commit 6296342ec4473352483eaa82f0553d4a209319a1
Author: Alan Modra <amodra@gmail.com>
Date: Tue Jan 31 12:39:29 2023 +1030
PR 30060, ASAN error in bfd_cache_close
After bfd_close nothing should access bfd memory. Now that bfd_close
always tidies up even after an error, attempting to tidy the cached
bfd list by calling bfd_cache_close is wrong and not needed.
PR 30060
* ar.c (remove_output): Don't call bfd_cache_close.
(output_bfd): Delete.
* arsup.c (ar_end): Call bfd_close_all_done, not bfd_cache_close.
--
You are receiving this mail because:
You are on the CC list for the bug.