Author: greatlrd
Date: Sun Jun 3 23:57:41 2007
New Revision: 26981
URL: http://svn.reactos.org/svn/reactos?rev=26981&view=rev
Log:
small bugfix from alex ion*, he postet on irc channel and Haos posted the fix into bugzila.
"NullString.Length = sizeof(WCHAR); otherwise SMSS's environment strings are all messed"
See issue #2277 for more details.
Modified:
trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/init.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=269…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/init.c (original)
+++ trunk/reactos/ntoskrnl/ex/init.c Sun Jun 3 23:57:41 2007
@@ -373,6 +373,8 @@
PVOID EnvironmentPtr = NULL;
PRTL_USER_PROCESS_INFORMATION ProcessInformation;
PRTL_USER_PROCESS_PARAMETERS ProcessParams = NULL;
+
+ NullString.Length = sizeof(WCHAR);
/* Use the initial buffer, after the strings */
ProcessInformation = &InitBuffer->ProcessInfo;