X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b6ace22552e41cb05d69eb0325a91dc0b7aa1d40..47f55bc70a0eef068c8a27ca0618a11c512dbf20:/Mach/Inject.cpp 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_);