[PATCH 1/2] winspool: Initialize string pointers passed to StartDocDlgW() (Coverity)
Nikolay Sivov
nsivov at codeweavers.com
Thu Dec 22 04:02:01 CST 2016
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/winspool.drv/info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index 39ae4ebb59..2c6a816a4c 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -8556,7 +8556,7 @@ end:
LPSTR WINAPI StartDocDlgA( HANDLE hPrinter, DOCINFOA *doc )
{
UNICODE_STRING usBuffer;
- DOCINFOW docW;
+ DOCINFOW docW = { 0 };
LPWSTR retW;
LPWSTR docnameW = NULL, outputW = NULL, datatypeW = NULL;
LPSTR ret = NULL;
--
2.11.0
More information about the wine-patches
mailing list