Speculative fix - try to avoid crashes if hooked dlopen is called early

* This isn't particularly stable/nice, probably needs a complete rethink
This commit is contained in:
baldurk
2015-10-01 00:51:22 +02:00
parent e2871e1245
commit 079a44b4a9
4 changed files with 21 additions and 1 deletions
+2
View File
@@ -26,6 +26,8 @@
#include "hooks/hooks.h"
#include "os/os_specific.h"
void dlopen_hook_init();
void readCapOpts(const char *str, CaptureOptions *opts)
{
// serialise from string with two chars per byte