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:
4683eb6
)
Fixed invalid parameter for set command.
68/228168/1
author
sungrae jo
<seongrae.jo@samsung.com>
Thu, 19 Mar 2020 09:04:05 +0000
(18:04 +0900)
committer
sungrae jo
<seongrae.jo@samsung.com>
Thu, 19 Mar 2020 09:04:05 +0000
(18:04 +0900)
Change-Id: Ide1af8f90ed47c78ff3c98d4354660d83484b9d1
Signed-off-by: sungrae jo <seongrae.jo@samsung.com>
common/vc_command.c
patch
|
blob
|
history
diff --git
a/common/vc_command.c
b/common/vc_command.c
index 6d0b5465f56753f9002caaaea3c2a3f3fb2b0048..665f8d992b89630ce5d31f4d84b52345366530b2 100644
(file)
--- a/
common/vc_command.c
+++ b/
common/vc_command.c
@@
-885,7
+885,7
@@
int vc_cmd_set_command(vc_cmd_h vc_command, const char* command)
return VC_ERROR_PERMISSION_DENIED;
}
- if (NULL == vc_command) {
+ if (NULL == vc_command
|| NULL == command
) {
SLOG(LOG_ERROR, TAG_VCCMD, "[ERROR] Invalid parameter ");
return VC_ERROR_INVALID_PARAMETER;
}