[vlc-commits] access: http: fix uninitialized member (cid #1346979)

Francois Cartegnie git at videolan.org
Thu Dec 31 15:29:44 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 31 14:36:47 2015 +0100| [83d458302a0693117213414dc24d5690005c0a0e] | committer: Francois Cartegnie

access: http: fix uninitialized member (cid #1346979)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=83d458302a0693117213414dc24d5690005c0a0e
---

 modules/access/http/message.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/http/message.c b/modules/access/http/message.c
index 592ea90..ead6cf3 100644
--- a/modules/access/http/message.c
+++ b/modules/access/http/message.c
@@ -735,6 +735,7 @@ int vlc_http_msg_add_atime(struct vlc_http_msg *m)
 static time_t vlc_http_mktime(const char *str)
 {   /* IETF RFC7231 §7.1.1.1 */
     struct tm tm;
+    tm.tm_isdst = -1;
     char mon[4];
 
     /* Internet Message Format date */



More information about the vlc-commits mailing list