mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 21:28:48 +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
|
@ -281,7 +281,7 @@ MiFindExportedRoutineByName(IN PVOID DllBase,
|
|||
Function = (PVOID)((ULONG_PTR)DllBase + ExportTable[Ordinal]);
|
||||
|
||||
/* We found it! */
|
||||
ASSERT((Function > (PVOID)ExportDirectory) &&
|
||||
ASSERT(!(Function > (PVOID)ExportDirectory) &&
|
||||
(Function < (PVOID)((ULONG_PTR)ExportDirectory + ExportSize)));
|
||||
return Function;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue