OcAppleKernelLib: Verify VTable length only via extern relocs.

This commit is contained in:
Download-Fritz 2019-03-26 17:18:22 +01:00
parent c814d82ef1
commit 362d2ba795

View File

@ -565,7 +565,7 @@ InternalInitializeVtablePatchData (
++EntryOffset
) {
if (VtableData[EntryOffset] == 0) {
Result = MachoGetSymbolByRelocationOffset64 (
Result = MachoGetSymbolByExternRelocationOffset64 (
MachoContext,
(VtableSymbol->Value + (EntryOffset * sizeof (*VtableData))),
&Symbol