OcAppleKernelLib: Correctly locate section relocation address.

This commit is contained in:
Download-Fritz 2019-03-26 09:39:15 +01:00
parent 780777675e
commit 8995e023aa

View File

@ -554,7 +554,7 @@ InternalCalculateTargetsIntel64 (
} else {
Section = MachoGetSectionByIndex64 (
MachoContext,
Relocation->SymbolNumber
(Relocation->SymbolNumber - 1)
);
if (Section == NULL) {
return FALSE;