From c6d9a617bea348168cebb55c0cc8c0fd6878ebde Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 30 Oct 2005 13:55:28 +0000 Subject: [PATCH] Fixed the check for the MEM_TOP_DOWN flag in MmMapViewOfSection. svn path=/trunk/; revision=18882 --- reactos/ntoskrnl/mm/section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index 8653d54e8ee..584c9daa549 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -4520,7 +4520,7 @@ MmMapViewOfSection(IN PVOID SectionObject, *ViewSize, Protect, ViewOffset, - (AllocationType & MEM_TOP_DOWN)); + (AllocationType & MEM_TOP_DOWN) == MEM_TOP_DOWN); MmUnlockSectionSegment(Section->Segment); if (!NT_SUCCESS(Status)) {