q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8c8a2b1098932ebd6f40ef064dfa652bbdf7edc0

commit 8c8a2b1098932ebd6f40ef064dfa652bbdf7edc0
Author: Daniel Kolesa <[email protected]>
Date:   Fri Aug 22 15:13:44 2014 +0100

    ecore_getopt: correct fix for CID 98382 and 98383
---
 src/lib/ecore/ecore_getopt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/ecore/ecore_getopt.c b/src/lib/ecore/ecore_getopt.c
index 79e09cc..ea4e69b 100644
--- a/src/lib/ecore/ecore_getopt.c
+++ b/src/lib/ecore/ecore_getopt.c
@@ -1049,6 +1049,9 @@ static Eina_Bool
 _ecore_getopt_parse_bool(const char *str,
                          Eina_Bool  *v)
 {
+   if (!str)
+     return EINA_FALSE;
+
    if ((strcmp(str, "0") == 0) ||
        (strcasecmp(str, "f") == 0) ||
        (strcasecmp(str, "false") == 0) ||

-- 


Reply via email to