[ros-diffs] [jmorlan] 34647: MmReleasePageMemoryConsumer: When giving the page directly to a pending allocation request, zero it first. (Bug 3543)
jmorlan at svn.reactos.org
jmorlan at svn.reactos.org
Mon Jul 21 23:30:41 CEST 2008
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=34647&r1=34646&r2=34647&view=diff
==============================================================================
--- 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);
}
More information about the Ros-diffs
mailing list