public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor
@ 2013-11-27 21:55 brnguyen at nvidia dot com
  2013-12-05 20:30 ` [Bug dynamic-link/16272] " brnguyen at nvidia dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: brnguyen at nvidia dot com @ 2013-11-27 21:55 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 16272
           Summary: dlopen()ing a DT_FILTER library crashes if filtee has
                    constructor
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: brnguyen at nvidia dot com

Created attachment 7309
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7309&action=edit
Reproduction test case

The attached test case loads a DSO which has a DT_FILTER set to a shared
object with a constructor function.  This segfaults on RHEL 6.4, and on an
ld.so built from commit a9503496671bb22278bd1203182066f0bb28239a, this
crashes with the following assertion:

Inconsistency detected by ld.so: dl-deps.c: 586: _dl_map_object_deps:
Assertion `map->l_searchlist.r_list[0] == map' failed!

This also reproduces if I replace "--Wl,--filter=libtest.so.1" with
"--Wl,--auxiliary=libtest.so.1" in the Makefile.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug dynamic-link/16272] dlopen()ing a DT_FILTER library crashes if filtee has constructor
  2013-11-27 21:55 [Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor brnguyen at nvidia dot com
@ 2013-12-05 20:30 ` brnguyen at nvidia dot com
  2014-06-13 11:51 ` fweimer at redhat dot com
  2020-07-08 16:41 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: brnguyen at nvidia dot com @ 2013-12-05 20:30 UTC (permalink / raw)
  To: glibc-bugs

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

Brian Nguyen <brnguyen at nvidia dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brnguyen at nvidia dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug dynamic-link/16272] dlopen()ing a DT_FILTER library crashes if filtee has constructor
  2013-11-27 21:55 [Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor brnguyen at nvidia dot com
  2013-12-05 20:30 ` [Bug dynamic-link/16272] " brnguyen at nvidia dot com
@ 2014-06-13 11:51 ` fweimer at redhat dot com
  2020-07-08 16:41 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 11:51 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug dynamic-link/16272] dlopen()ing a DT_FILTER library crashes if filtee has constructor
  2013-11-27 21:55 [Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor brnguyen at nvidia dot com
  2013-12-05 20:30 ` [Bug dynamic-link/16272] " brnguyen at nvidia dot com
  2014-06-13 11:51 ` fweimer at redhat dot com
@ 2020-07-08 16:41 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2020-07-08 16:41 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.32

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-08 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 21:55 [Bug dynamic-link/16272] New: dlopen()ing a DT_FILTER library crashes if filtee has constructor brnguyen at nvidia dot com
2013-12-05 20:30 ` [Bug dynamic-link/16272] " brnguyen at nvidia dot com
2014-06-13 11:51 ` fweimer at redhat dot com
2020-07-08 16:41 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).