[vlc-commits] cookies: missing initializers
Rémi Denis-Courmont
git at videolan.org
Thu Sep 15 12:52:00 CEST 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep 15 13:51:44 2016 +0300| [a3bf1e0433eed1197e1e463db7f476be67c6fbe7] | committer: Rémi Denis-Courmont
cookies: missing initializers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a3bf1e0433eed1197e1e463db7f476be67c6fbe7
---
src/misc/httpcookies.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/misc/httpcookies.c b/src/misc/httpcookies.c
index 5eb4d74..bbfc0e9 100644
--- a/src/misc/httpcookies.c
+++ b/src/misc/httpcookies.c
@@ -203,6 +203,9 @@ static http_cookie_t *cookie_parse(const char *value,
if (unlikely(cookie == NULL))
return NULL;
+ cookie->psz_domain = NULL
+ cookie->psz_path = NULL;
+
/* Get the NAME=VALUE part of the Cookie */
size_t value_length = strcspn(value, ";");
const char *p = memchr(value, '=', value_length);
More information about the vlc-commits
mailing list