[PATCH] winhttp: initialize schemes (Coverity)
Marcus Meissner
marcus at jet.franken.de
Tue May 28 16:16:53 CDT 2013
1020943 Uninitialized scalar variable
After suggestion by Hans, do it in the helper ... especially
as the other external callers do not initialize schemes either.
Ciao, Marcus
---
dlls/winhttp/request.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 436a02f..d0981ee 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -1253,6 +1253,8 @@ static BOOL query_auth_schemes( request_t *request, DWORD level, LPDWORD support
DWORD index = 0;
BOOL ret = FALSE;
+ *supported = 0;
+
for (;;)
{
WCHAR *buffer;
--
1.7.10.4
More information about the wine-patches
mailing list