Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
config: another coverity fix in config_modify_tag()
  • Loading branch information
perexg committed Oct 3, 2014
1 parent a28696f commit 3c7990b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.c
Expand Up @@ -695,7 +695,7 @@ config_modify_tag( htsmsg_t *c, uint32_t id, const char *uuid, const void *aux )

htsmsg_delete_field(c, "index");

if (ch == NULL)
if (ch == NULL || uuid == NULL)
return;

HTSMSG_FOREACH(f, ch) {
Expand Down

0 comments on commit 3c7990b

Please sign in to comment.