Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
config: fix another coverity NULL string issue in config_modify_dvr_l…
…og()
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 4939648 commit 9734af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.c
Expand Up @@ -775,7 +775,7 @@ config_modify_dvr_log( htsmsg_t *c, uint32_t id, const char *uuid, const void *a

htsmsg_delete_field(c, "index");
if (chname == NULL || (chuuid != NULL && uuid_init_bin(&uuid0, chuuid))) {
chname = strdup(chuuid);
chname = strdup(chuuid ?: "");
htsmsg_delete_field(c, "channelname");
htsmsg_delete_field(c, "channel");
htsmsg_add_str(c, "channelname", chname);
Expand Down

0 comments on commit 9734af1

Please sign in to comment.