[NTOS:MM] In the x64 version of MmCreateProcessAddressSpace() zero out all page table PFNs

This commit is contained in:
Timo Kreuzer
2020-09-20 23:08:17 +02:00
parent 04f0c7d0d7
commit bebcda0b0b
+4 -1
View File
@@ -626,8 +626,11 @@ MmCreateProcessAddressSpace(IN ULONG MinWs,
/* Release PFN lock */
MiReleasePfnLock(OldIrql);
/* Zero pages */ /// FIXME:
/* Zero pages */
MiZeroPhysicalPage(TableBasePfn);
MiZeroPhysicalPage(HyperPfn);
MiZeroPhysicalPage(HyperPdPfn);
MiZeroPhysicalPage(HyperPtPfn);
MiZeroPhysicalPage(WorkingSetPfn);
/* Set the base directory pointers */