projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f874126
)
wininet: Initialize path buffer in InternetSetCookie.
author
Hans Leidekker
<hans@it.vu.nl>
Sun, 18 Nov 2007 17:29:37 +0000
(18:29 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 19 Nov 2007 12:52:26 +0000
(13:52 +0100)
dlls/wininet/cookie.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/wininet/cookie.c
b/dlls/wininet/cookie.c
index
b44c4a6
..
2eef2d9
100644
(file)
--- a/
dlls/wininet/cookie.c
+++ b/
dlls/wininet/cookie.c
@@
-454,7
+454,7
@@
BOOL WINAPI InternetSetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName,
return FALSE;
}
- hostName[0] = 0;
+ hostName[0] =
path[0] =
0;
ret = COOKIE_crackUrlSimple(lpszUrl, hostName, sizeof(hostName)/sizeof(hostName[0]), path, sizeof(path)/sizeof(path[0]));
if (!ret || !hostName[0]) return FALSE;