]> sourceware.org Git - glibc.git/commit
Increase robustness of internal dlopen() by using RTLD_NOW [BZ #22766]
authorTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Thu, 26 Apr 2018 13:41:43 +0000 (10:41 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Thu, 26 Apr 2018 13:41:43 +0000 (10:41 -0300)
commit81b49e969233ac5b9faf5c043bb0cc64bf9d6271
tree5cd448f269f2206f15da2af3995e13be3bbfd2ec
parent7d80f48e93508476d0d17d368b34b28cd5dda2a5
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>
ChangeLog
include/dlfcn.h
sysdeps/gnu/unwind-resume.c
sysdeps/nptl/unwind-forcedunwind.c
This page took 0.038641 seconds and 5 git commands to generate.