]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: fix the oops in the dvrfile (uninitialized variables), fixes #4827
authorJaroslav Kysela <perex@perex.cz>
Thu, 4 Jan 2018 20:09:30 +0000 (21:09 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 4 Jan 2018 20:09:53 +0000 (21:09 +0100)
src/webui/webui.c

index 816308643ecbc1cf74fa9ae02f8331bad173bea6..12b9652308914620892dca1caaa836426d3f6d36 100644 (file)
@@ -1770,6 +1770,8 @@ page_dvrfile(http_connection_t *hc, const char *remain, void *opaque)
   priv.fname = tvh_strdupa(filename);
   priv.content = muxer_container_filename2mime(priv.fname, 1);
   priv.charset = de->de_config ? de->de_config->dvr_charset_id : NULL;
+  priv.tcp_id = NULL;
+  priv.sub = NULL;
 
   pthread_mutex_unlock(&global_lock);