From e0f0af5ef8936dc0cc3bfb30f54300aa052523e8 Mon Sep 17 00:00:00 2001 From: Sejun Park Date: Wed, 21 May 2025 10:21:49 +0900 Subject: [PATCH] fixed svace issues Change-Id: I19c1a3c900ad49136968348428d44479aca4689b --- client/vc_mgr_tidl.c | 4 ++-- packaging/voice-control.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1