Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
IPTV: handle NULL ptrs in iptv_http_create_header(), fixes #3328
  • Loading branch information
perexg committed Nov 20, 2015
1 parent c9ceae3 commit a26944c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/input/mpegts/iptv/iptv_http.c
Expand Up @@ -489,6 +489,8 @@ iptv_http_create_header
{
http_priv_t *hp = hc->hc_aux;

if (hp == NULL || hp->im == NULL)
return;
http_client_basic_args(hc, h, url, keepalive);
http_client_add_args(hc, h, hp->im->mm_iptv_hdr);
}
Expand Down

0 comments on commit a26944c

Please sign in to comment.