projects
/
platform
/
core
/
security
/
krate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8278e9
)
Add NULL checking after get an value of entry
41/92441/1
author
Sungbae Yoo
<sungbae.yoo@samsung.com>
Mon, 17 Oct 2016 04:40:05 +0000
(13:40 +0900)
committer
Sungbae Yoo
<sungbae.yoo@samsung.com>
Mon, 17 Oct 2016 04:50:47 +0000
(13:50 +0900)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I330045d29440b9c1652dabfdc9e7ed977861e542
tools/apps/setup-wizard/src/security.c
patch
|
blob
|
history
diff --git
a/tools/apps/setup-wizard/src/security.c
b/tools/apps/setup-wizard/src/security.c
index
c80dc54
..
6a75fa5
100644
(file)
--- a/
tools/apps/setup-wizard/src/security.c
+++ b/
tools/apps/setup-wizard/src/security.c
@@
-210,6
+210,9
@@
static void security_password_entry_changed_cb(void *data, Evas_Object *obj, voi
Evas_Object *button;
const char *entry_data = elm_entry_entry_get(obj);
+ if (entry_data == NULL)
+ return;
+
if (security_passphrase_mode < PASSPHRASE_STATE_VERIFY)
button = (Evas_Object *)evas_object_data_get(ud.nf, "setup_button");
else