Thomas Faber : qmgr: Fully initialize URL_COMPONENTSW structure before calling WinHttpCrackUrl.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon May 23 10:27:45 CDT 2016
Module: wine
Branch: master
Commit: d0b72cee0dee7548731bb2b9ba4f6f39a3fdede8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d0b72cee0dee7548731bb2b9ba4f6f39a3fdede8
Author: Thomas Faber <thomas.faber at reactos.org>
Date: Sun May 22 21:13:55 2016 +0200
qmgr: Fully initialize URL_COMPONENTSW structure before calling WinHttpCrackUrl.
Signed-off-by: Thomas Faber <thomas.faber at reactos.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/qmgr/file.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/qmgr/file.c b/dlls/qmgr/file.c
index 302f407..cdea329 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)
{
More information about the wine-cvs
mailing list