mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
[CSRSRV]
- Hardcoded_value--; - Be sure SizeOfProcessData is initialized to zero before doing anything later on. svn path=/trunk/; revision=60538
This commit is contained in:
parent
ea17b18f2b
commit
ae0bca8de5
1 changed files with 2 additions and 1 deletions
|
@ -69,7 +69,7 @@ HANDLE CsrSrvSharedSection = NULL;
|
||||||
CSR_SERVER_DLL_INIT(CsrServerDllInitialization)
|
CSR_SERVER_DLL_INIT(CsrServerDllInitialization)
|
||||||
{
|
{
|
||||||
/* Setup the DLL Object */
|
/* Setup the DLL Object */
|
||||||
LoadedServerDll->ApiBase = 0;
|
LoadedServerDll->ApiBase = CSRSRV_FIRST_API_NUMBER;
|
||||||
LoadedServerDll->HighestApiSupported = CsrpMaxApiNumber;
|
LoadedServerDll->HighestApiSupported = CsrpMaxApiNumber;
|
||||||
LoadedServerDll->DispatchTable = CsrServerApiDispatchTable;
|
LoadedServerDll->DispatchTable = CsrServerApiDispatchTable;
|
||||||
LoadedServerDll->ValidTable = CsrServerApiServerValidTable;
|
LoadedServerDll->ValidTable = CsrServerApiServerValidTable;
|
||||||
|
@ -167,6 +167,7 @@ CsrLoadServerDll(IN PCHAR DllString,
|
||||||
|
|
||||||
/* Set up the Object */
|
/* Set up the Object */
|
||||||
ServerDll->Length = Size;
|
ServerDll->Length = Size;
|
||||||
|
ServerDll->SizeOfProcessData = 0;
|
||||||
ServerDll->SharedSection = CsrSrvSharedSectionHeap; // Send to the server dll our shared heap pointer.
|
ServerDll->SharedSection = CsrSrvSharedSectionHeap; // Send to the server dll our shared heap pointer.
|
||||||
ServerDll->Name.Length = DllName.Length;
|
ServerDll->Name.Length = DllName.Length;
|
||||||
ServerDll->Name.MaximumLength = DllName.MaximumLength;
|
ServerDll->Name.MaximumLength = DllName.MaximumLength;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue