diff options
author | Youngjae Shin <yj99.shin@samsung.com> | 2021-07-15 08:39:43 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2021-07-15 08:42:33 +0900 |
commit | c224c8af00abe11cc522e11fc75d12cfce7f3256 (patch) | |
tree | c6a5befcba4de06570e3234e4a7baffff83671f0 | |
parent | 128f9ed482af9e6fdf2da7dfbed716fceb05743b (diff) | |
download | modes-plugins-accepted/tizen_6.5_unified.tar.gz modes-plugins-accepted/tizen_6.5_unified.tar.bz2 modes-plugins-accepted/tizen_6.5_unified.zip |
prevent assigning null to stringtizen_6.5.m2_releasesubmit/tizen_6.5/20211028.162501submit/tizen/20210715.063717accepted/tizen/unified/20210715.094630accepted/tizen/6.5/unified/20211028.115321tizen_6.5accepted/tizen_6.5_unified
Change-Id: I1f9c41c83f0cbddc42fc51d2767e431b5d9b4fb6
-rw-r--r-- | vconf/VconfStr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vconf/VconfStr.cpp b/vconf/VconfStr.cpp index 6c854e2..ad17d4a 100644 --- 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); } |