OcAppleKernelLib: Reassign RelocationsSize after preserving relocs.

This commit is contained in:
Download-Fritz 2019-03-28 19:06:09 +01:00
parent adc7eebb32
commit 25ea29a92d

View File

@ -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.
//