Author: tkreuzer
Date: Thu Dec 3 18:02:34 2009
New Revision: 44378
URL:
http://svn.reactos.org/svn/reactos?rev=44378&view=rev
Log:
Fix a bug in MiAllocatePagesForMdl that made it loop forever on the 1st page.
Modified:
trunk/reactos/ntoskrnl/mm/freelist.c
Modified: trunk/reactos/ntoskrnl/mm/freelist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/freelist.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/freelist.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/freelist.c [iso-8859-1] Thu Dec 3 18:02:34 2009
@@ -594,7 +594,7 @@
//
// Check if we've reached the end
//
- Page = *MdlPage;
+ Page = *MdlPage++;
if (Page == (PFN_NUMBER)-1) break;
//