Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
iptv auto: fix NULL dereference issue for tags, fixes #4134
  • Loading branch information
perexg committed Dec 11, 2016
1 parent 0c506b4 commit 3654c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/iptv/iptv_auto.c
Expand Up @@ -241,7 +241,7 @@ iptv_auto_network_process_m3u_item(iptv_network_t *in,
}
if (strcmp(im->mm_iptv_tags ?: "", tags ?: "")) {
free(im->mm_iptv_tags);
im->mm_iptv_tags = strdup(tags);
im->mm_iptv_tags = tags ? strdup(tags) : NULL;
change = 1;
}
if (epgcfg >= 0 && im->mm_epg != epgcfg) {
Expand Down

0 comments on commit 3654c98

Please sign in to comment.