projects
/
platform
/
core
/
uifw
/
ise-default.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5714101
)
Fix derefence of NULL issue detected by static analysis tool
20/165520/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 2 Jan 2018 01:32:18 +0000
(10:32 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Tue, 2 Jan 2018 01:32:18 +0000
(10:32 +0900)
Change-Id: Ia647683357ffb6e3627035dc4683ed55e03428fd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/ise.cpp
patch
|
blob
|
history
diff --git
a/src/ise.cpp
b/src/ise.cpp
index
00b9cea
..
fc979ff
100644
(file)
--- a/
src/ise.cpp
+++ b/
src/ise.cpp
@@
-2358,6
+2358,9
@@
static void show_autofill_data(Ecore_IMF_Input_Hints input_hints)
LOGW("ckmc_get_data error: %d", ret);
return;
} else {
+ if (!ckmc_data)
+ return;
+
autofill_data = strndup((const char *)ckmc_data->data, ckmc_data->size);
SECURE_LOGD("data : '%s', len : %d", autofill_data, ckmc_data->size);
}