rimmed pushed a commit to branch eflete-1.18.

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

commit a30d7b88423d978fcdd5d809d50f68036e85f0dd
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 8d8c38c..3609367 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