jaehwan pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=c4b141feff6625c2750ff8943f26b1e42e6c0be6
commit c4b141feff6625c2750ff8943f26b1e42e6c0be6 Author: Jaehwan Kim <[email protected]> Date: Wed Sep 21 17:07:29 2016 +0900 tab_home: fix a segment fault --- src/bin/ui/tab_home_import_edj.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/bin/ui/tab_home_import_edj.c b/src/bin/ui/tab_home_import_edj.c index edb5101..4e299fd 100644 --- a/src/bin/ui/tab_home_import_edj.c +++ b/src/bin/ui/tab_home_import_edj.c @@ -708,16 +708,15 @@ _tab_import_edj_data_set(const char *name, const char *path, const char *edj, co if (!item) { item = elm_genlist_first_item_get(tab_edj.genlist); - do + while (item) { node = elm_object_item_data_get(item); if (!strcmp(node->name, "elm/")) break; item = elm_genlist_item_next_get(item); } - while (item); } - if (node->list) + if (node && node->list) { EINA_LIST_FOREACH(node->list, l1, sub) { --
