Merge "Fix RTLD_NEXT lookup for the local_group"
This commit is contained in:
commit
aaafbe128f
@ -965,7 +965,7 @@ const ElfW(Sym)* dlsym_linear_lookup(const char* name,
|
||||
soinfo* start = solist;
|
||||
|
||||
if (handle == RTLD_NEXT) {
|
||||
if (caller == nullptr || caller->next == nullptr) {
|
||||
if (caller == nullptr) {
|
||||
return nullptr;
|
||||
} else {
|
||||
start = caller->next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user