cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=15654012a69db7380c050d3cbf65b79ddb8fb92f

commit 15654012a69db7380c050d3cbf65b79ddb8fb92f
Author: Cedric BAIL <cedric.b...@samsung.com>
Date:   Thu Mar 20 16:48:38 2014 +0900

    edje: let's be careful on the string content.
    
    Fix CID 1193215.
---
 src/bin/edje/edje_inspector.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/edje/edje_inspector.c b/src/bin/edje/edje_inspector.c
index 8dc8525..d0d5360 100644
--- a/src/bin/edje/edje_inspector.c
+++ b/src/bin/edje/edje_inspector.c
@@ -873,6 +873,7 @@ part_details(Evas_Object *ed, const char *ppart)
         double value;
         eina_strlcpy(state, str, sizeof(state)); /* bad states_list! :-( */
         delim = strchr(state, ' ');
+        if (!delim) continue ;
         *delim = '\0';
         delim++;
         value = strtod(delim, NULL);

-- 


Reply via email to