Author: fireball
Date: Thu Dec  8 19:40:25 2011
New Revision: 54618

URL: http://svn.reactos.org/svn/reactos?rev=54618&view=rev
Log:
[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.

Modified:
    trunk/reactos/dll/win32/kernel32/client/thread.c

Modified: trunk/reactos/dll/win32/kernel32/client/thread.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/thread.c?rev=54618&r1=54617&r2=54618&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/thread.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/thread.c [iso-8859-1] Thu Dec  8 
19:40:25 2011
@@ -182,7 +182,7 @@
     if (hProcess == NtCurrentProcess())
     {
         PTEB Teb;
-        PVOID ActivationContextStack;
+        PVOID ActivationContextStack = NULL;
         THREAD_BASIC_INFORMATION ThreadBasicInfo;
 #ifndef SXS_SUPPORT_FIXME
         ACTIVATION_CONTEXT_BASIC_INFORMATION ActivationCtxInfo;


Reply via email to