Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP: fix another enumm NULL pointer dereference (doc)
  • Loading branch information
perexg committed May 7, 2016
1 parent ce227a9 commit 693b811
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/input/mpegts/satip/satip_frontend.c
Expand Up @@ -300,9 +300,11 @@ static htsmsg_t *
satip_frontend_dvbs_class_master_enum( void * self, const char *lang )
{
satip_frontend_t *lfe = self, *lfe2;
satip_device_t *sd = lfe->sf_device;
htsmsg_t *m = htsmsg_create_list();
htsmsg_add_str(m, NULL, N_("This tuner"));
if (lfe == NULL)
return m;
satip_device_t *sd = lfe->sf_device;
TAILQ_FOREACH(lfe2, &sd->sd_frontends, sf_link)
if (lfe2 != lfe && lfe2->sf_type == lfe->sf_type)
htsmsg_add_str(m, NULL, lfe2->mi_name);
Expand Down

0 comments on commit 693b811

Please sign in to comment.