From d0b72cee0dee7548731bb2b9ba4f6f39a3fdede8 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 22 May 2016 21:13:55 +0200 Subject: [PATCH] qmgr: Fully initialize URL_COMPONENTSW structure before calling WinHttpCrackUrl. Signed-off-by: Thomas Faber Signed-off-by: Alexandre Julliard --- dlls/qmgr/file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/qmgr/file.c b/dlls/qmgr/file.c index 302f4075fc1..cdea3293ef2 100644 --- a/dlls/qmgr/file.c +++ b/dlls/qmgr/file.c @@ -522,6 +522,8 @@ BOOL processFile(BackgroundCopyFileImpl *file, BackgroundCopyJobImpl *job) uc.nPort = 0; uc.lpszUrlPath = NULL; uc.dwUrlPathLength = ~0u; + uc.lpszExtraInfo = NULL; + uc.dwExtraInfoLength = 0; ret = WinHttpCrackUrl(file->info.RemoteName, 0, 0, &uc); if (!ret) {