https://sourceware.org/bugzilla/show_bug.cgi?id=25993
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-05-17
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
We should do something about the above local_sym_name pointer into what is
freed memory after pe.em/pep.em have twiddled the bfd filename. The simplest
solution is to make another copy of the name in add_archive_element, which I
think would mean the pe.em/pep.em changes are not needed.
An alternative approach is to make bfd_set_filename allocate a copy of the name
using bfd_alloc and not free any old name. I think that's the best solution,
and I have a patch to do that but it touches a lot of files and probably should
be held off until after the gdb-9.2 release next weekend.
--
You are receiving this mail because:
You are on the CC list for the bug.