From 39374c3ad4ccbe1075c53ab7828f101a2abaa307 Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Sat, 27 Jun 2009 22:51:23 +0000 Subject: [PATCH] - Copying from destination to destination isn't very smart. - Fix bug when creating the physical memory descriptor block. svn path=/trunk/; revision=41650 --- reactos/ntoskrnl/mm/ARM3/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/mm/ARM3/init.c b/reactos/ntoskrnl/mm/ARM3/init.c index 20739755851..40b2036d5ad 100644 --- a/reactos/ntoskrnl/mm/ARM3/init.c +++ b/reactos/ntoskrnl/mm/ARM3/init.c @@ -260,7 +260,7 @@ MmInitializeMemoryLimits(IN PLOADER_PARAMETER_BLOCK LoaderBlock, // Copy the old buffer into the new, then free it // RtlCopyMemory(NewBuffer->Run, - NewBuffer->Run, + Buffer->Run, sizeof(PHYSICAL_MEMORY_RUN) * Run); ExFreePool(Buffer);