projects
/
platform
/
core
/
uifw
/
voice-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8629857
)
Fix SVACE issue
33/104733/1
author
sooyeon.kim
<sooyeon.kim@samsung.com>
Wed, 14 Dec 2016 07:44:28 +0000
(16:44 +0900)
committer
sooyeon.kim
<sooyeon.kim@samsung.com>
Wed, 14 Dec 2016 07:44:28 +0000
(16:44 +0900)
Change-Id: Ida5604af5260c977a819741581e884da6b539345
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
common/vc_cmd_db.c
patch
|
blob
|
history
diff --git
a/common/vc_cmd_db.c
b/common/vc_cmd_db.c
index
5ed395c
..
7696982
100644
(file)
--- a/
common/vc_cmd_db.c
+++ b/
common/vc_cmd_db.c
@@
-1298,7
+1298,9
@@
static int __vc_db_generate_command(vc_cmd_s* cmd, char** fixed_cmd, GSList** cm
// remove close brace, '}'
char* temp_close = strchr(src_cmd, '}');
- temp_close[0] = '\0';
+ if (NULL != temp_close) {
+ temp_close[0] = '\0';
+ }
// extract fixed command and remove space in front of '{'
char *tok_ptr = NULL;