--- trunk/reactos/subsys/csr/csrsrv/api.c 2005-10-02 19:31:30 UTC (rev 18229)
+++ trunk/reactos/subsys/csr/csrsrv/api.c 2005-10-02 19:39:30 UTC (rev 18230)
@@ -1124,13 +1124,13 @@
CsrCaptureArguments(IN PCSR_THREAD CsrThread,
IN PCSR_API_MESSAGE ApiMessage)
{
- PCSR_CAPTURE_BUFFER LocalCaptureBuffer;
- ULONG LocalLength;
- PCSR_CAPTURE_BUFFER RemoteCaptureBuffer;
- SIZE_T BufferDistance;
- ULONG PointerCount;
- ULONG_PTR **PointerOffsets;
- ULONG_PTR *CurrentPointer;
+ PCSR_CAPTURE_BUFFER LocalCaptureBuffer = NULL;
+ ULONG LocalLength = 0;
+ PCSR_CAPTURE_BUFFER RemoteCaptureBuffer = NULL;
+ SIZE_T BufferDistance = 0;
+ ULONG PointerCount = 0;
+ ULONG_PTR **PointerOffsets = NULL;
+ ULONG_PTR *CurrentPointer = NULL;
/* Use SEH to make sure this is valid */
_SEH_TRY
--- trunk/reactos/subsys/csr/csrsrv/process.c 2005-10-02 19:31:30 UTC (rev 18229)
+++ trunk/reactos/subsys/csr/csrsrv/process.c 2005-10-02 19:39:30 UTC (rev 18230)
@@ -1097,12 +1097,12 @@
ULONG Flags)
{
PLIST_ENTRY ListHead, NextEntry;
- PCSR_PROCESS CsrProcess;
+ PCSR_PROCESS CsrProcess = NULL;
NTSTATUS Status = STATUS_UNSUCCESSFUL;
BOOLEAN FirstTry = TRUE;
- ULONG i;
- PCSR_SERVER_DLL ServerDll;
- ULONG Result;
+ ULONG i = 0;
+ PCSR_SERVER_DLL ServerDll = NULL;
+ ULONG Result = 0;
/* Acquire process lock */
CsrAcquireProcessLock();