[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
This commit is contained in:
Aleksey Bragin
2011-12-08 19:40:25 +00:00
parent bf06b2113d
commit 470eb66aff
+1 -1
View File
@@ -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;