Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IPTV: try to fix null pointer dereference, fixes #3262
  • Loading branch information
perexg committed Nov 4, 2015
1 parent 3cbee55 commit fdf2826
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/input/mpegts/iptv/iptv_auto.c
Expand Up @@ -128,6 +128,9 @@ iptv_auto_network_process_m3u_item(iptv_network_t *in,
chnum += (int64_t)*total * CHANNEL_SPLIT;
}

if (name == NULL)
name = "";

urlinit(&u);
custom[0] = '\0';

Expand Down

0 comments on commit fdf2826

Please sign in to comment.