Merge "Fix RTLD_NEXT lookup for the local_group"

This commit is contained in:
Dmitriy Ivanov 2015-05-22 22:21:24 +00:00 committed by Gerrit Code Review
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;