]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
SAT>IP server rtsp: fix wrong memory access
authorJaroslav Kysela <perex@perex.cz>
Sat, 7 Nov 2015 12:47:22 +0000 (13:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 7 Nov 2015 12:57:50 +0000 (13:57 +0100)
src/satip/rtsp.c

index cc3e5c225fee939df754afd6a6a63be776148c31..81f7dba5dc31cbea845611d811461786321e3170 100644 (file)
@@ -476,6 +476,8 @@ rtsp_start
     mux = NULL;
     mn2 = NULL;
     LIST_FOREACH(mn, &mpegts_network_all, mn_global_link) {
+      if (!idnode_is_instance(&mn->mn_id, &dvb_network_class))
+        continue;
       ln = (dvb_network_t *)mn;
       if (ln->ln_type == rs->dmc.dmc_fe_type &&
           mn->mn_satip_source == rs->src) {