Author: hbelusca
Date: Tue Jul 1 17:17:43 2014
New Revision: 63681
URL:
http://svn.reactos.org/svn/reactos?rev=63681&view=rev
Log:
[CSRDLL]: Avoid a potential null pointer dereference.
Modified:
trunk/reactos/dll/ntdll/csr/connect.c
Modified: trunk/reactos/dll/ntdll/csr/connect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/csr/connect.c?re…
==============================================================================
--- trunk/reactos/dll/ntdll/csr/connect.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/csr/connect.c [iso-8859-1] Tue Jul 1 17:17:43 2014
@@ -255,7 +255,7 @@
CsrPortHeap = RtlGetProcessHeap();
/* Tell the caller we're inside the server */
- *ServerToServerCall = InsideCsrProcess;
+ if (ServerToServerCall) *ServerToServerCall = InsideCsrProcess;
return STATUS_SUCCESS;
}