diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-03 17:40:32 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-03 17:40:32 +0000 |
commit | a787fdfb4a67db47dd46ca537de4eac426d71dde (patch) | |
tree | 8c84a72ffbc4028c2189c3953c1c403a33f3edda /plugins/PluginUpdater/pu_stub | |
parent | 533822b69a5f5f5983183e7270cde60ecd20ede1 (diff) |
PluginUpdater: coverity fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15502 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/pu_stub')
-rw-r--r-- | plugins/PluginUpdater/pu_stub/pu_stub.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/pu_stub/pu_stub.cpp b/plugins/PluginUpdater/pu_stub/pu_stub.cpp index 19f5aade7b..8b3e25896d 100644 --- a/plugins/PluginUpdater/pu_stub/pu_stub.cpp +++ b/plugins/PluginUpdater/pu_stub/pu_stub.cpp @@ -80,7 +80,7 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR lpCmdLine, int) log( L"Entering the reading cycle...");
- BYTE szReadBuffer[1024];
+ BYTE szReadBuffer[1024] = { 0 };
DWORD dwBytes;
while ( ReadFile(hPipe, szReadBuffer, sizeof(szReadBuffer), &dwBytes, NULL)) {
DWORD dwAction = *(DWORD*)szReadBuffer;
|