rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=3b8a61cb08f62b4748c73a510bdd185f19f0c774

commit 3b8a61cb08f62b4748c73a510bdd185f19f0c774
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Thu Sep 15 12:13:50 2016 +0300

    property_group: add name check
    
    Fix svace WID 436564
---
 src/bin/ui/property/property_group.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index f9f2a87..bb528d7 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -2452,7 +2452,7 @@ _update_cb(Property_Attribute *pa, Property_Action 
*action)
       case ATTRIBUTE_PROGRAM_SAMPLE_NAME:
          elm_genlist_clear(action->control);
          str_val1 = edje_edit_program_sample_name_get(EDIT_OBJ, PROGRAM_ARGS);
-         if (!strcmp(str_val1, EFLETE_DUMMY_SAMPLE_NAME))
+         if (!str_val1 || !strcmp(str_val1, EFLETE_DUMMY_SAMPLE_NAME))
            {
               edje_edit_string_free(str_val1);
               str_val1 = eina_stringshare_add(_("None"));

-- 


Reply via email to