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:
6b58a2b
)
Fix deference without checking NULL
09/74709/1
accepted/tizen/common/20160617.122016
accepted/tizen/common/20160620.163828
accepted/tizen/ivi/20160621.023852
accepted/tizen/mobile/20160621.023800
accepted/tizen/tv/20160621.023817
accepted/tizen/wearable/20160621.023833
submit/tizen/20160617.083406
submit/tizen/20160620.090638
author
Wonnam Jang
<wn.jang@samsung.com>
Wed, 15 Jun 2016 09:23:37 +0000
(18:23 +0900)
committer
Wonnam Jang
<wn.jang@samsung.com>
Wed, 15 Jun 2016 09:23:37 +0000
(18:23 +0900)
Change-Id: Ibdc263e17e95855811e817a74d187136c58eddcf
Signed-off-by: Wonnam Jang <wn.jang@samsung.com>
common/vc_info_parser.c
patch
|
blob
|
history
diff --git
a/common/vc_info_parser.c
b/common/vc_info_parser.c
index
cc1af86
..
de84287
100644
(file)
--- a/
common/vc_info_parser.c
+++ b/
common/vc_info_parser.c
@@
-150,6
+150,9
@@
int vc_cmd_parser_save_file(int pid, vc_cmd_type_e type, GSList* cmd_list)
int selected_count = 0;
for (i = 0; i < count; i++) {
+ if (NULL == iter)
+ break;
+
temp_cmd = iter->data;
if (NULL == temp_cmd) {
@@
-1482,6
+1485,9
@@
int vc_info_parser_set_client_info(GSList* client_info_list)
char temp[16] = {0, };
for (i = 0; i < count; i++) {
+ if (NULL == iter)
+ break;
+
client = iter->data;
if (NULL != client) {