Author: hbelusca
Date: Sat Oct 5 17:29:27 2013
New Revision: 60538
URL:
http://svn.reactos.org/svn/reactos?rev=60538&view=rev
Log:
[CSRSRV]
- Hardcoded_value--;
- Be sure SizeOfProcessData is initialized to zero before doing anything later on.
Modified:
trunk/reactos/subsystems/win32/csrsrv/server.c
Modified: trunk/reactos/subsystems/win32/csrsrv/server.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrsrv/se…
==============================================================================
--- trunk/reactos/subsystems/win32/csrsrv/server.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrsrv/server.c [iso-8859-1] Sat Oct 5 17:29:27 2013
@@ -69,7 +69,7 @@
CSR_SERVER_DLL_INIT(CsrServerDllInitialization)
{
/* Setup the DLL Object */
- LoadedServerDll->ApiBase = 0;
+ LoadedServerDll->ApiBase = CSRSRV_FIRST_API_NUMBER;
LoadedServerDll->HighestApiSupported = CsrpMaxApiNumber;
LoadedServerDll->DispatchTable = CsrServerApiDispatchTable;
LoadedServerDll->ValidTable = CsrServerApiServerValidTable;
@@ -167,6 +167,7 @@
/* Set up the Object */
ServerDll->Length = Size;
+ ServerDll->SizeOfProcessData = 0;
ServerDll->SharedSection = CsrSrvSharedSectionHeap; // Send to the server dll our
shared heap pointer.
ServerDll->Name.Length = DllName.Length;
ServerDll->Name.MaximumLength = DllName.MaximumLength;