public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug dynamic-link/20802] getauxval NULL pointer dereference after static dlopen [not found] <bug-20802-131@http.sourceware.org/bugzilla/> @ 2020-12-22 17:01 ` fweimer at redhat dot com 2021-05-23 11:18 ` fweimer at redhat dot com 1 sibling, 0 replies; 2+ messages in thread From: fweimer at redhat dot com @ 2020-12-22 17:01 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=20802 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at sourceware dot org |fweimer at redhat dot com CC| |fweimer at redhat dot com Status|NEW |ASSIGNED -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug dynamic-link/20802] getauxval NULL pointer dereference after static dlopen [not found] <bug-20802-131@http.sourceware.org/bugzilla/> 2020-12-22 17:01 ` [Bug dynamic-link/20802] getauxval NULL pointer dereference after static dlopen fweimer at redhat dot com @ 2021-05-23 11:18 ` fweimer at redhat dot com 1 sibling, 0 replies; 2+ messages in thread From: fweimer at redhat dot com @ 2021-05-23 11:18 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=20802 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Target Milestone|--- |2.34 Resolution|--- |FIXED --- Comment #2 from Florian Weimer <fweimer at redhat dot com> --- Fixed for all architectures for glibc 2.34 via: commit 78b31cc8341ab8268c468cd0f4f988d1d7862a55 Author: Florian Weimer <fweimer@redhat.com> Date: Mon May 17 09:59:14 2021 +0200 elf: Partially initialize ld.so after static dlopen (bug 20802) After static dlopen, a copy of ld.so is loaded into the inner namespace, but that copy is not initialized at all. Some architectures run into serious problems as result, which is why the _dl_var_init mechanism was invented. With libpthread moving into libc and parts into ld.so, more architectures impacted, so it makes sense to switch to a generic mechanism which performs the partial initialization. As a result, getauxval now works after static dlopen (bug 20802). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-23 11:18 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-20802-131@http.sourceware.org/bugzilla/> 2020-12-22 17:01 ` [Bug dynamic-link/20802] getauxval NULL pointer dereference after static dlopen fweimer at redhat dot com 2021-05-23 11:18 ` fweimer at redhat dot com
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).