From 3c7990b7e0cf0554d5d35c84337ba4d8a30c7cea Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 3 Oct 2014 15:58:30 +0200 Subject: [PATCH] config: another coverity fix in config_modify_tag() --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.c b/src/config.c index b3507019..3ed19eb8 100644 --- a/src/config.c +++ b/src/config.c @@ -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) {