OcAppleKernelLib: Fix memory initialisation

This commit is contained in:
vit9696 2020-08-22 09:29:26 +03:00
parent dde7432b62
commit 6f795d6a80

View File

@ -411,6 +411,7 @@ ReadAppleKernel (
ASSERT (KernelSize != NULL);
ASSERT (AllocatedSize != NULL);
*Is32Bit = FALSE;
*KernelSize = 0;
*AllocatedSize = KERNEL_HEADER_SIZE;
*Kernel = AllocatePool (*AllocatedSize);