From: Jay Freeman (saurik) Date: Tue, 11 Mar 2014 22:18:02 +0000 (-0700) Subject: Fix creepy "dump master.passwd to stderr" failure. X-Git-Tag: v0.9.502~26 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/47f55bc70a0eef068c8a27ca0618a11c512dbf20 Fix creepy "dump master.passwd to stderr" failure. --- diff --git a/Mach/Inject.cpp b/Mach/Inject.cpp index c70e83c..6ca0378 100644 --- a/Mach/Inject.cpp +++ b/Mach/Inject.cpp @@ -207,6 +207,7 @@ void InjectLibrary(pid_t pid) { baton->dyld = info.all_image_info_addr; baton->pid = getpid(); + memset(baton->error, 0, sizeof(baton->error)); memcpy(baton->library, library, length); mach_vm_size_t size(depth + Stack_);