mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Verify VTable length only via extern relocs.
This commit is contained in:
parent
c814d82ef1
commit
362d2ba795
@ -565,7 +565,7 @@ InternalInitializeVtablePatchData (
|
||||
++EntryOffset
|
||||
) {
|
||||
if (VtableData[EntryOffset] == 0) {
|
||||
Result = MachoGetSymbolByRelocationOffset64 (
|
||||
Result = MachoGetSymbolByExternRelocationOffset64 (
|
||||
MachoContext,
|
||||
(VtableSymbol->Value + (EntryOffset * sizeof (*VtableData))),
|
||||
&Symbol
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user