mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
FIXME: Erase Stack PTEs before releasing them
This commit is contained in:
parent
544f89e92f
commit
2a14a9bad0
1 changed files with 2 additions and 0 deletions
|
@ -237,6 +237,8 @@ MmDeleteKernelStack(IN PVOID StackBase,
|
|||
Pfn1 = MiGetPfnEntry(PageFrameNumber);
|
||||
if (Pfn1->u3.e1.PageLocation != ActiveAndValid) __debugbreak();
|
||||
|
||||
PointerPte->u.Long = 0;
|
||||
|
||||
/* Now get the page of the page table mapping it */
|
||||
PageTableFrameNumber = Pfn1->u4.PteFrame;
|
||||
Pfn2 = MiGetPfnEntry(PageTableFrameNumber);
|
||||
|
|
Loading…
Reference in a new issue