This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22101] Dynamic loader must ignore "debug" shared objects e.g. ET_GNU_DEBUG_*
- From: "jobol at nonadev dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 05 Jan 2018 15:58:08 +0000
- Subject: [Bug dynamic-link/22101] Dynamic loader must ignore "debug" shared objects e.g. ET_GNU_DEBUG_*
- Auto-submitted: auto-generated
- References: <bug-22101-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22101
--- Comment #10 from José Bollo <jobol at nonadev dot net> ---
(In reply to Andreas Schwab from comment #6)
> > Does it means that dlopen is authorized to crash (SIGSEGV)?
>
> Yes, because you allow it to run arbitrary code.
That is a problem in fact: how to dlopen a library to just inspect its content?
There is no option to avoid calls to constructors/destructors and IMHO it's
really missing. Obviously providing such option would imply features for
explicitely call constructors, a reopen perhaps.
Thank for resolution of the error.
--
You are receiving this mail because:
You are on the CC list for the bug.