diff --git a/Library/OcAppleKernelLib/Link.c b/Library/OcAppleKernelLib/Link.c index 8d7e5019..7281ee5e 100644 --- a/Library/OcAppleKernelLib/Link.c +++ b/Library/OcAppleKernelLib/Link.c @@ -1362,6 +1362,7 @@ InternalPrelinkKext64 ( return RETURN_LOAD_ERROR; } NumRelocations += NumRelocations2; + RelocationsSize = (NumRelocations * sizeof (MACH_RELOCATION_INFO)); // // Copy the entire symbol table excluding the area for undefined symbols. //