[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

svn path=/trunk/; revision=68273
This commit is contained in:
Thomas Faber 2015-06-26 10:40:49 +00:00
parent 656342ff11
commit 09da0e3011

View file

@ -270,6 +270,7 @@ MmFreePagesFromMdl(IN PMDL Mdl)
//
Pfn1->u3.e1.StartOfAllocation = 0;
Pfn1->u3.e1.EndOfAllocation = 0;
Pfn1->u3.e1.PageLocation = StandbyPageList;
Pfn1->u2.ShareCount = 0;
//