Use immediate resolution of symbols
This will prevent crashes mid-execution. Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
f0872cbdeb
commit
8de25d4141
@ -293,7 +293,7 @@ plugin_load(const char *libpath)
|
||||
#ifdef DEBUG
|
||||
printf("Loading plugin from %s\n", libpath);
|
||||
#endif
|
||||
handle = dlopen(libpath, RTLD_LAZY);
|
||||
handle = dlopen(libpath, RTLD_NOW);
|
||||
if (!handle) {
|
||||
errno = ELIBACC;
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user