Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
epggrab: fix possible NULL dereference
  • Loading branch information
perexg committed May 20, 2015
1 parent ee69d63 commit d7efb20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/epggrab/module.c
Expand Up @@ -68,7 +68,8 @@ htsmsg_t *epggrab_module_list ( void )
htsmsg_add_str(e, "name", m->name);
if(m->type == EPGGRAB_EXT) {
epggrab_module_ext_t *ext = (epggrab_module_ext_t*)m;
htsmsg_add_str(e, "path", ext->path);
if (ext->path)
htsmsg_add_str(e, "path", ext->path);
}
htsmsg_add_msg(a, NULL, e);
}
Expand Down

0 comments on commit d7efb20

Please sign in to comment.