[CSRDLL]: Avoid a potential null pointer dereference.

svn path=/trunk/; revision=63681
This commit is contained in:
Hermès Bélusca-Maïto 2014-07-01 17:17:43 +00:00
parent 73d7ba1daf
commit 413950767e

View file

@ -255,7 +255,7 @@ CsrClientConnectToServer(IN PWSTR ObjectDirectory,
CsrPortHeap = RtlGetProcessHeap();
/* Tell the caller we're inside the server */
*ServerToServerCall = InsideCsrProcess;
if (ServerToServerCall) *ServerToServerCall = InsideCsrProcess;
return STATUS_SUCCESS;
}