diff --git a/Library/OcAppleKernelLib/KernelReader.c b/Library/OcAppleKernelLib/KernelReader.c index 9014b698..7d33d145 100644 --- a/Library/OcAppleKernelLib/KernelReader.c +++ b/Library/OcAppleKernelLib/KernelReader.c @@ -411,6 +411,7 @@ ReadAppleKernel ( ASSERT (KernelSize != NULL); ASSERT (AllocatedSize != NULL); + *Is32Bit = FALSE; *KernelSize = 0; *AllocatedSize = KERNEL_HEADER_SIZE; *Kernel = AllocatePool (*AllocatedSize);