am aaafbe12: Merge "Fix RTLD_NEXT lookup for the local_group"
* commit 'aaafbe128f51dff92da3cf4f5fc9b47f04f05261': Fix RTLD_NEXT lookup for the local_group
This commit is contained in:
commit
e0e07a9f96
@ -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