Author: cgutman Date: Fri Dec 30 00:10:39 2011 New Revision: 54783
URL: http://svn.reactos.org/svn/reactos?rev=54783&view=rev Log: [NTOSKRNL] - Fix the fix
Modified: trunk/reactos/ntoskrnl/mm/i386/page.c
Modified: trunk/reactos/ntoskrnl/mm/i386/page.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/i386/page.c?rev... ============================================================================== --- trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/i386/page.c [iso-8859-1] Fri Dec 30 00:10:39 2011 @@ -529,7 +529,7 @@ * are invalid translations, so the processor won't cache them */ MmUnmapPageTable(Pt);
- if (Pte & PA_PRESENT) + if ((Pte & PA_PRESENT) || !(Pte & 0x800)) { KeBugCheck(MEMORY_MANAGEMENT); } @@ -681,7 +681,7 @@ { ULONG Entry; Entry = MmGetPageEntryForProcess(Process, Address); - return !(Entry & PA_PRESENT) && Entry != 0; + return !(Entry & PA_PRESENT) && (Entry & 0x800); }
NTSTATUS