Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: fix possible NULL deference
  • Loading branch information
perexg committed Mar 16, 2016
1 parent f0d1bba commit 7adea4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_frontend.c
Expand Up @@ -579,7 +579,7 @@ linuxdvb_frontend_start_mux
if (lfe->lfe_master) {
assert(lfe->lfe_type == DVB_TYPE_S);
lfe2 = (linuxdvb_frontend_t *)idnode_find(lfe->lfe_master, &linuxdvb_frontend_class, NULL);
if (lfe2->lfe_type != lfe->lfe_type)
if (lfe2 && lfe2->lfe_type != lfe->lfe_type)
lfe2 = NULL;
res = SM_CODE_TUNING_FAILED;
if (lfe2) {
Expand Down

0 comments on commit 7adea4a

Please sign in to comment.