https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0573de22a02b9d87b48bfd2b9d6433f476e80a34

commit 0573de22a02b9d87b48bfd2b9d6433f476e80a34
Author:     Jérôme Gardou <[email protected]>
AuthorDate: Wed Feb 10 15:21:00 2021 +0100
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Wed Feb 10 17:48:30 2021 +0100

    [NTOS:MM] Do not assert on a case we actually support
---
 ntoskrnl/mm/ARM3/virtual.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/mm/ARM3/virtual.c b/ntoskrnl/mm/ARM3/virtual.c
index 00271e03e7b..6234e58d7be 100644
--- a/ntoskrnl/mm/ARM3/virtual.c
+++ b/ntoskrnl/mm/ARM3/virtual.c
@@ -5035,7 +5035,7 @@ NtAllocateVirtualMemory(IN HANDLE ProcessHandle,
             if (PointerPte->u.Soft.Valid == 0)
             {
                 ASSERT(PointerPte->u.Soft.Prototype == 0);
-                ASSERT(PointerPte->u.Soft.PageFileHigh == 0);
+                ASSERT((PointerPte->u.Soft.PageFileHigh == 0) || 
(PointerPte->u.Soft.Transition == 1));
             }
 
             //

Reply via email to