mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user