Author: mjmartin
Date: Tue Apr 27 15:35:52 2010
New Revision: 47048
URL:
http://svn.reactos.org/svn/reactos?rev=47048&view=rev
Log:
[ntoskrnl\mm]
- Fix a continuous loop bug in MiWriteProtectSystemImage.
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] Tue Apr 27 15:35:52 2010
@@ -2154,6 +2154,10 @@
{
/* Same protection, so merge the request */
CurrentAddress = BaseAddress + Size - 1;
+
+ /* Next */
+ Sections--;
+ Section++;
continue;
}