mpegts network: mux discovery - add check to avoid NULL dereference, fixes #2678, fixes #2674

This commit is contained in:
Jaroslav Kysela 2015-02-16 20:26:22 +01:00
parent 379672a6fb
commit 51e9aec9a0

View file

@ -441,6 +441,8 @@ dvb_network_create_mux
if (!dvb_network_check_orbital_pos(satpos, dmc->u.dmc_fe_qpsk.orbital_pos))
break;
}
if (mn == NULL)
return NULL;
}
}