Author: tfaber
Date: Fri Jun 26 10:40:49 2015
New Revision: 68273
URL:
http://svn.reactos.org/svn/reactos?rev=68273&view=rev
Log:
[NTOS:MM]
- Mark the page as being on the standby list before dereferencing it in
MmFreePagesFromMdl. Since the PFN is marked as deleted, MiDecrementReferenceCount will
correctly insert it into the free list, but this is required to satisfy
MiDecrementReferenceCount's sanity check.
CORE-9877 #resolve
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/mdlsup.c [iso-8859-1] Fri Jun 26 10:40:49 2015
@@ -270,6 +270,7 @@
//
Pfn1->u3.e1.StartOfAllocation = 0;
Pfn1->u3.e1.EndOfAllocation = 0;
+ Pfn1->u3.e1.PageLocation = StandbyPageList;
Pfn1->u2.ShareCount = 0;
//