[Top][All Lists]

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

[Bug binutils/11983] libbfd reuses pointer passed to bfd_openr

From: tromey at redhat dot com
Subject: [Bug binutils/11983] libbfd reuses pointer passed to bfd_openr
Date: Thu, 02 Jan 2014 18:47:39 +0000


--- Comment #10 from Tom Tromey <tromey at redhat dot com> ---
On further reflection I think the patch as applied will
cause gdb crashes.  Due to the historical oddity of how
the BFD's filename was handled, gdb chose to go its own
route and reallocate the filename on the BFD's objalloc.
However the new patch requires the filename to be
malloc'd -- but in gdb this will not be the case.
Also IIRC from when I looked into this, some of the binutils
also play games with the filename.  I think a fuller audit
is needed.

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]