- 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:
Michael Martin 2009-06-04 08:18:12 +00:00
parent 579c35f87a
commit ac16fec27e

View file

@ -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;
}