Commit f15bbdcd authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

wininet: Initialize length of values that aren't being requested.

parent 2e4242b5
...@@ -184,6 +184,10 @@ static void COOKIE_crackUrlSimple(LPCWSTR lpszUrl, LPWSTR hostName, int hostName ...@@ -184,6 +184,10 @@ static void COOKIE_crackUrlSimple(LPCWSTR lpszUrl, LPWSTR hostName, int hostName
UrlComponents.lpszUrlPath = path; UrlComponents.lpszUrlPath = path;
UrlComponents.lpszUserName = NULL; UrlComponents.lpszUserName = NULL;
UrlComponents.lpszHostName = hostName; UrlComponents.lpszHostName = hostName;
UrlComponents.dwExtraInfoLength = 0;
UrlComponents.dwPasswordLength = 0;
UrlComponents.dwSchemeLength = 0;
UrlComponents.dwUserNameLength = 0;
UrlComponents.dwHostNameLength = hostNameLen; UrlComponents.dwHostNameLength = hostNameLen;
UrlComponents.dwUrlPathLength = pathLen; UrlComponents.dwUrlPathLength = pathLen;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment