From 470eb66aff58c536508560b14cbc564475cfad8e Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Thu, 8 Dec 2011 19:40:25 +0000 Subject: [PATCH] [KERNEL32] - Zero-initialize ActivationContextStack pointer before calling RtlAllocateActivationContextStack(). This allows to get rid of some hacks in the existing ActCtx support in the ntdll loader and actual implementation. svn path=/trunk/; revision=54618 --- reactos/dll/win32/kernel32/client/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/kernel32/client/thread.c b/reactos/dll/win32/kernel32/client/thread.c index aa582051516..fde6eebaa7e 100644 --- a/reactos/dll/win32/kernel32/client/thread.c +++ b/reactos/dll/win32/kernel32/client/thread.c @@ -182,7 +182,7 @@ CreateRemoteThread(HANDLE hProcess, if (hProcess == NtCurrentProcess()) { PTEB Teb; - PVOID ActivationContextStack; + PVOID ActivationContextStack = NULL; THREAD_BASIC_INFORMATION ThreadBasicInfo; #ifndef SXS_SUPPORT_FIXME ACTIVATION_CONTEXT_BASIC_INFORMATION ActivationCtxInfo;