[ros-diffs] [mjmartin] 41277: - MiFindExportedRoutineByNam: Correct an typo in assert that caused MmGetSystemRoutineAddress to assert after finding a valid non forwarder function.
mjmartin at svn.reactos.org
mjmartin at svn.reactos.org
Thu Jun 4 10:18:13 CEST 2009
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=41277&r1=41276&r2=41277&view=diff
==============================================================================
--- 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;
}
More information about the Ros-diffs
mailing list