commit | a281816c8aeb12619d34eec8959a43dfa5c6b4ec | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Wed Oct 06 18:28:47 2021 +1030 |
committer | Alan Modra <amodra@gmail.com> | Thu Oct 07 14:59:53 2021 +1030 |
tree | f1feb93885106f24c97137dac53734b50bd10cb4 | |
parent | 163d8077435419ae9ad7fb55503a8005067362a0 [diff] |
PR28422, build_id use-after-free This fixes a bug in commit 5d9bbb73c1df. All fields preserved from a bfd in struct bfd_preserve need to be cleared in bfd_reinit. PR 28422 * format.c (bfd_reinit): Clear build_id. (cherry picked from commit 6d661cdc5be46e890ed9255e749806f46a88e26c)