Author: mjmartin
Date: Thu Jun 4 12:18:12 2009
New Revision: 41277
URL:
http://svn.reactos.org/svn/reactos?rev=41277&view=rev
Log:
- MiFindExportedRoutineByNam: Correct an typo in assert that caused
MmGetSystemRoutineAddress to assert after finding a valid non forwarder function.
Modified:
trunk/reactos/ntoskrnl/mm/sysldr.c
Modified: trunk/reactos/ntoskrnl/mm/sysldr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/sysldr.c?rev=4…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/sysldr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/sysldr.c [iso-8859-1] Thu Jun 4 12:18:12 2009
@@ -281,7 +281,7 @@
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;
}