mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
- MiFindExportedRoutineByNam: Correct an typo in assert that caused MmGetSystemRoutineAddress to assert after finding a valid non forwarder function.
svn path=/trunk/; revision=41277
This commit is contained in:
parent
579c35f87a
commit
ac16fec27e
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ MiFindExportedRoutineByName(IN PVOID DllBase,
|
||||||
Function = (PVOID)((ULONG_PTR)DllBase + ExportTable[Ordinal]);
|
Function = (PVOID)((ULONG_PTR)DllBase + ExportTable[Ordinal]);
|
||||||
|
|
||||||
/* We found it! */
|
/* We found it! */
|
||||||
ASSERT((Function > (PVOID)ExportDirectory) &&
|
ASSERT(!(Function > (PVOID)ExportDirectory) &&
|
||||||
(Function < (PVOID)((ULONG_PTR)ExportDirectory + ExportSize)));
|
(Function < (PVOID)((ULONG_PTR)ExportDirectory + ExportSize)));
|
||||||
return Function;
|
return Function;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue