projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5063260
)
ecore_getopt: correct fix for CID 98382 and 98383
author
Daniel Kolesa
<d.kolesa@samsung.com>
Fri, 22 Aug 2014 14:13:44 +0000
(15:13 +0100)
committer
Daniel Kolesa
<d.kolesa@samsung.com>
Fri, 22 Aug 2014 14:13:44 +0000
(15:13 +0100)
src/lib/ecore/ecore_getopt.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore/ecore_getopt.c
b/src/lib/ecore/ecore_getopt.c
index
79e09cc
..
ea4e69b
100644
(file)
--- 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) ||