From f79c9023d8d4f667e2d3104e5fc4c844f55287ee Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Fri, 12 Jun 2026 23:19:05 +0200 Subject: [PATCH] Initialize thread service table --- xtoskrnl/ke/kthread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtoskrnl/ke/kthread.cc b/xtoskrnl/ke/kthread.cc index d95e97a..ec7ac0d 100644 --- a/xtoskrnl/ke/kthread.cc +++ b/xtoskrnl/ke/kthread.cc @@ -172,7 +172,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process, Thread->AdjustReason = AdjustNone; /* Set the thread service table */ - Thread->ServiceTable = NULLPTR; + Thread->ServiceTable = KE::SystemServices::GetSystemServicesDescriptorTable(); /* Initialize thread lock */ KE::SpinLock::InitializeSpinLock(&Thread->ThreadLock);