CsrCaptureArguments(IN PCSR_THREAD CsrThread,\r
IN PCSR_API_MESSAGE ApiMessage)\r
{\r
- PCSR_CAPTURE_BUFFER LocalCaptureBuffer;\r
- ULONG LocalLength;\r
- PCSR_CAPTURE_BUFFER RemoteCaptureBuffer;\r
- SIZE_T BufferDistance;\r
- ULONG PointerCount;\r
- ULONG_PTR **PointerOffsets;\r
- ULONG_PTR *CurrentPointer;\r
+ PCSR_CAPTURE_BUFFER LocalCaptureBuffer = NULL;\r
+ ULONG LocalLength = 0;\r
+ PCSR_CAPTURE_BUFFER RemoteCaptureBuffer = NULL;\r
+ SIZE_T BufferDistance = 0;\r
+ ULONG PointerCount = 0;\r
+ ULONG_PTR **PointerOffsets = NULL;\r
+ ULONG_PTR *CurrentPointer = NULL;\r
\r
/* Use SEH to make sure this is valid */\r
_SEH_TRY\r
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();