This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22766] all glibc internal dlopen should use RTLD_NOW for robust dlopen failures
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 26 Apr 2018 17:01:18 +0000
- Subject: [Bug libc/22766] all glibc internal dlopen should use RTLD_NOW for robust dlopen failures
- Auto-submitted: auto-generated
- References: <bug-22766-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22766
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 81b49e969233ac5b9faf5c043bb0cc64bf9d6271 (commit)
from 7d80f48e93508476d0d17d368b34b28cd5dda2a5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=81b49e969233ac5b9faf5c043bb0cc64bf9d6271
commit 81b49e969233ac5b9faf5c043bb0cc64bf9d6271
Author: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Date: Thu Apr 26 10:41:43 2018 -0300
Increase robustness of internal dlopen() by using RTLD_NOW [BZ #22766]
Prevent random runtime crashes due to missing symbols caused by mixed
libnss_* versions.
[BZ #22766]
* include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
* sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
__libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
* sysdeps/nptl/unwind-forcedunwind.c: Likewise.
Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
include/dlfcn.h | 23 ++++++++++++++++++++++-
sysdeps/gnu/unwind-resume.c | 7 ++-----
sysdeps/nptl/unwind-forcedunwind.c | 3 ++-
4 files changed, 34 insertions(+), 7 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.