runtime_loader: Fix incorrect usage of rpath.
This should've been changed to pathString
in 43d1a0dc3c
.
Fixes #18858.
This commit is contained in:
parent
820d309b71
commit
cdb8ce2438
@ -336,7 +336,7 @@ open_executable(char *name, image_type type, const char *rpath, const char* runp
|
||||
// It consists of a colon-separated search path list. Optionally a
|
||||
// second search path list follows, separated from the first by a
|
||||
// semicolon.
|
||||
const char *semicolon = strchr(rpath, ';');
|
||||
const char *semicolon = strchr(pathString, ';');
|
||||
const char *firstList = (semicolon ? pathString : NULL);
|
||||
const char *secondList = (semicolon ? semicolon + 1 : pathString);
|
||||
// If there is no ';', we set only secondList to simplify things.
|
||||
|
Loading…
Reference in New Issue
Block a user