Fix missing assignment of PointerPte

This commit is contained in:
2026-02-03 20:17:28 +01:00
committed by CodingWorkshop Signing Team
parent 3b397aca92
commit 157c48ce7f

View File

@@ -160,7 +160,7 @@ MM::KernelPool::FreeKernelStack(IN PVOID Stack,
ULONG Index; ULONG Index;
/* Get the PTE for the top of the stack, including the guard page */ /* Get the PTE for the top of the stack, including the guard page */
MM::Paging::AdvancePte(MM::Paging::GetPteAddress(Stack), -1); PointerPte = MM::Paging::AdvancePte(MM::Paging::GetPteAddress(Stack), -1);
/* Convert the stack size into a page count */ /* Convert the stack size into a page count */
StackPages = SIZE_TO_PAGES(StackSize); StackPages = SIZE_TO_PAGES(StackSize);