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

This commit is contained in:
Timo Kreuzer
2018-01-29 12:34:45 +01:00
parent 04f0c7d0d7
commit bebcda0b0b

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 */