diff options
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r-- | linker/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index 4c98afe6e..f3ca7610d 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -980,7 +980,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; |