el8
Nicolas Chauvet 15 years ago
parent edc6bf0e6f
commit 616673ea29

@ -0,0 +1,14 @@
diff --git a/bin/override.c b/bin/override.c
index 54ca687..5e72918 100644
--- a/bin/override.c
+++ b/bin/override.c
@@ -297,7 +297,7 @@ int (*XSetIOErrorHandler (int (*handler) (Display *))) (Display *)
void *dlopen (const char *path, int flag)
{
- if (strstr (path, "/gui_platform/libkde.so"))
+ if (path && strstr (path, "/gui_platform/libkde.so"))
return NULL; /* Oh no, not that one! */
return CALL(dlopen, path, flag);
}
Loading…
Cancel
Save