bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/25993] Bug in bfd causes crashes with DXVK


From: amodra at gmail dot com
Subject: [Bug ld/25993] Bug in bfd causes crashes with DXVK
Date: Sun, 17 May 2020 22:40:38 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]