Author: jmorlan
Date: Mon Jul 21 16:30:41 2008
New Revision: 34647
URL:
http://svn.reactos.org/svn/reactos?rev=34647&view=rev
Log:
MmReleasePageMemoryConsumer: When giving the page directly to a pending allocation
request, zero it first. (Bug 3543)
Modified:
trunk/reactos/ntoskrnl/mm/balance.c
Modified: trunk/reactos/ntoskrnl/mm/balance.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/balance.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/balance.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/balance.c [iso-8859-1] Mon Jul 21 16:30:41 2008
@@ -115,6 +115,7 @@
Request = CONTAINING_RECORD(Entry, MM_ALLOCATION_REQUEST, ListEntry);
KeReleaseSpinLock(&AllocationListLock, oldIrql);
if(Consumer == MC_USER) MmRemoveLRUUserPage(Page);
+ MiZeroPage(Page);
Request->Page = Page;
KeSetEvent(&Request->Event, IO_NO_INCREMENT, FALSE);
}