From: VBS Date: Fri, 27 Dec 2024 03:07:19 +0000 (+0900) Subject: Fix svace issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33b1bf42d8da2f940b5e67da9ad26d60be75f236;p=platform%2Fcore%2Fuifw%2Fvoice-control-elm.git Fix svace issue Change-Id: I245aa1dcbccfd491b12a51b333873a104b3bffc1 Signed-off-by: VBS --- diff --git a/src/vc_elm_core.c b/src/vc_elm_core.c index 6289dae..e3ce535 100644 --- a/src/vc_elm_core.c +++ b/src/vc_elm_core.c @@ -1849,7 +1849,7 @@ static Eina_Bool _vc_elm_core_set_auto_item_object_command(Elm_Object_Item *obj, { char *temp = NULL; temp = eina_hash_find(item_command_map, &obj); - if (NULL != temp && NULL != _command && !strncmp(temp, _command, strlen(temp))) { + if (NULL != temp && NULL != _command && !strncmp(temp, _command, strlen(temp) + 1)) { VC_ELM_LOG_DBG("object_item(%p) already has command(%s)", (void*)obj, temp); return EINA_FALSE; }