bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20241] plugin lto + archive: invalid read access might cause SIG


From: amodra at gmail dot com
Subject: [Bug ld/20241] plugin lto + archive: invalid read access might cause SIGSEGV
Date: Sun, 12 Jun 2016 00:34:29 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20241

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2016-06-12
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
     Ever confirmed|0                           |1

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
It looks like the invalid reads are all due to the bfd_close in
plugin_maybe_claim which frees bfd->filename and the bfd itself.
add_archive_element keeps pointers to the_bfd and the_bfd->filename in a
lang_input_statement_type linker script statement, which are then accessed in
script traversals.  my_archive is *not* set for thin archives..

-- 
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]