https://git.reactos.org/?p=reactos.git;a=commitdiff;h=74a2c6ba4269bcdfcfba92284fed65bf4ebf7d92

commit 74a2c6ba4269bcdfcfba92284fed65bf4ebf7d92
Author:     Thomas Faber <[email protected]>
AuthorDate: Sun Mar 8 20:03:33 2020 +0100
Commit:     Thomas Faber <[email protected]>
CommitDate: Mon Apr 6 11:16:34 2020 +0200

    [NTOS:MM] Initialize MmSubsectionBase on x86 builds. CORE-16731
    
    Spotted by Vadim Galyant.
---
 ntoskrnl/mm/ARM3/i386/init.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ntoskrnl/mm/ARM3/i386/init.c b/ntoskrnl/mm/ARM3/i386/init.c
index 79ed102c230..bd14a83e19b 100644
--- a/ntoskrnl/mm/ARM3/i386/init.c
+++ b/ntoskrnl/mm/ARM3/i386/init.c
@@ -418,6 +418,8 @@ MiInitMachineDependent(IN PLOADER_PARAMETER_BLOCK 
LoaderBlock)
         StartPde++;
     }
 
+    MmSubsectionBase = (ULONG_PTR)MmNonPagedPoolStart;
+
     //
     // Now remember where the expansion starts
     //

Reply via email to