Add NULL checking after get an value of entry 41/92441/1
authorSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 17 Oct 2016 04:40:05 +0000 (13:40 +0900)
committerSungbae 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

index c80dc54..6a75fa5 100644 (file)
@@ -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