From: Sejun Park Date: Wed, 21 May 2025 01:21:49 +0000 (+0900) Subject: fixed svace issues X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsvace;p=platform%2Fcore%2Fuifw%2Fvoice-control.git fixed svace issues Change-Id: I19c1a3c900ad49136968348428d44479aca4689b --- diff --git a/client/vc_mgr_tidl.c b/client/vc_mgr_tidl.c index 3596b40..d98dd9f 100644 --- a/client/vc_mgr_tidl.c +++ b/client/vc_mgr_tidl.c @@ -156,9 +156,9 @@ static void __notify_cb(void *user_data, bundle *msg) bundle_get_str(msg, VC_BUNDLE_UTT_TEXT, &utt_text); bundle_get_str(msg, VC_BUNDLE_CONTINUOUS, &continuous); - if (!strncmp(disp_text, "#NULL", strlen(disp_text) + 1)) + if (disp_text != NULL && !strncmp(disp_text, "#NULL", strlen(disp_text) + 1)) disp_text = NULL; - if (!strncmp(utt_text, "#NULL", strlen(utt_text) + 1)) + if (utt_text != NULL && !strncmp(utt_text, "#NULL", strlen(utt_text) + 1)) utt_text = NULL; if (pid != NULL && continuous != NULL) { diff --git a/packaging/voice-control.spec b/packaging/voice-control.spec index c975207..8f01399 100644 --- a/packaging/voice-control.spec +++ b/packaging/voice-control.spec @@ -1,6 +1,6 @@ Name: voice-control Summary: Voice control client library and daemon -Version: 1.100.1 +Version: 1.100.2 Release: 1 Group: Graphics & UI Framework/Voice Framework License: Apache-2.0