summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorRahul Kumar <rahku@microsoft.com>2015-09-25 14:03:54 -0700
committerMatt Ellis <matell@microsoft.com>2015-09-25 17:24:02 -0700
commit6ac3cef4e3b82b3b9fbbce50a4a762e576464634 (patch)
treee4740ff710922047a7359b0927274988ef14c052 /src/debug
parentf0c1382fd5c65e44585b84a4bf3dd8ec86d73c6c (diff)
downloadcoreclr-6ac3cef4e3b82b3b9fbbce50a4a762e576464634.tar.gz
coreclr-6ac3cef4e3b82b3b9fbbce50a4a762e576464634.tar.bz2
coreclr-6ac3cef4e3b82b3b9fbbce50a4a762e576464634.zip
Fix for 134453: fix prefast warnings
[tfs-changeset: 1529946]
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/shim/debugshim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/shim/debugshim.cpp b/src/debug/shim/debugshim.cpp
index 2d4e63cad5..55b0b36e24 100644
--- a/src/debug/shim/debugshim.cpp
+++ b/src/debug/shim/debugshim.cpp
@@ -84,10 +84,10 @@ STDMETHODIMP CLRDebuggingImpl::OpenVirtualProcess(
HMODULE hDac = NULL;
DWORD dbiTimestamp;
DWORD dbiSizeOfImage;
- WCHAR dbiName[MAX_PATH_FNAME];
+ WCHAR dbiName[MAX_PATH_FNAME] = {0};
DWORD dacTimestamp;
DWORD dacSizeOfImage;
- WCHAR dacName[MAX_PATH_FNAME];
+ WCHAR dacName[MAX_PATH_FNAME] = {0};
CLR_DEBUGGING_VERSION version;
BOOL versionSupportedByCaller = FALSE;