]> 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:30 +0000 (21:09 +0100)
src/webui/webui.c

index 774c78fe3ecca2183c2dc3bbd0bb52f019564cf4..0f41753cc55edc4df5976823307349ec57fa3f3d 100644 (file)
@@ -1790,6 +1790,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);