From 47f55bc70a0eef068c8a27ca0618a11c512dbf20 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 11 Mar 2014 15:18:02 -0700 Subject: [PATCH] Fix creepy "dump master.passwd to stderr" failure. --- Mach/Inject.cpp | 1 + 1 file changed, 1 insertion(+) 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_); -- 2.49.0