From a02af71f72dce0f412f72dd483bde4951229395c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 26 Nov 2014 01:27:13 -0800 Subject: [PATCH] Put some more reasonable code in the open crasher. --- Library.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library.mm b/Library.mm index 975bd1d..20f9161 100644 --- a/Library.mm +++ b/Library.mm @@ -2430,7 +2430,7 @@ static void SBInitialize() { no = true; if (strstr(path, "/icon") != NULL) - MSHookProcess(-1, ""); + *reinterpret_cast(NULL) = NULL; if (fd == -1 && errno == EFAULT) NSLog(@"open(%p, %#x, %#o) = %d\n", path, oflag, mode, fd); -- 2.45.2