Author: ion
Date: Thu Feb 16 01:27:11 2012
New Revision: 55622
URL:
http://svn.reactos.org/svn/reactos?rev=55622&view=rev
Log:
[CSRSRV]: Fix \Local symbolic link. Thanks to vicmarcal (and the new awesome testman).
Modified:
trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/csr…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/csrsrv/api/wapi.c [iso-8859-1] Thu Feb 16
01:27:11 2012
@@ -650,7 +650,7 @@
/* Make local point back to \Sessions\x\BNO */
RtlInitUnicodeString(&DirectoryName, L"Local");
- RtlInitUnicodeString(&SymlinkName, Buffer);
+ ASSERT(SessionId == 0);
InitializeObjectAttributes(&ObjectAttributes,
&DirectoryName,
OBJ_OPENIF | OBJ_PERMANENT | OBJ_CASE_INSENSITIVE,