projects
/
platform
/
core
/
system
/
modes-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128f9ed
)
prevent assigning null to string
87/261287/1
accepted/tizen_6.5_unified
tizen_6.5
accepted/tizen/6.5/unified/20211028.115321
accepted/tizen/unified/20210715.094630
submit/tizen/20210715.063717
submit/tizen_6.5/20211028.162501
tizen_6.5.m2_release
author
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 14 Jul 2021 23:39:43 +0000
(08:39 +0900)
committer
Youngjae Shin
<yj99.shin@samsung.com>
Wed, 14 Jul 2021 23:42:33 +0000
(08:42 +0900)
Change-Id: I1f9c41c83f0cbddc42fc51d2767e431b5d9b4fb6
vconf/VconfStr.cpp
patch
|
blob
|
history
diff --git
a/vconf/VconfStr.cpp
b/vconf/VconfStr.cpp
index
6c854e2
..
ad17d4a
100644
(file)
--- a/
vconf/VconfStr.cpp
+++ b/
vconf/VconfStr.cpp
@@
-113,7
+113,7
@@
void VconfStr::changedCB(keynode_t * node)
}
char *val = vconf_keynode_get_str(node);
- if (cb && (val != requestVal))
+ if (cb &&
val &&
(val != requestVal))
cb(cbData);
}