From: Jay Freeman (saurik) Date: Wed, 26 Nov 2014 09:27:13 +0000 (-0800) Subject: Put some more reasonable code in the open crasher. X-Git-Tag: v0.9.3916~5 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/a02af71f72dce0f412f72dd483bde4951229395c Put some more reasonable code in the open crasher. --- 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);