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:
b92ec4b
)
elm/main: fix null deref
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 18 Oct 2019 17:29:51 +0000
(13:29 -0400)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:18:26 +0000
(11:18 +0900)
Summary: CID 1402697
Reviewers: cedric
Reviewed By: cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10449
src/lib/elementary/elm_main.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_main.c
b/src/lib/elementary/elm_main.c
index
1cad7f6
..
0e83b2b
100644
(file)
--- a/
src/lib/elementary/elm_main.c
+++ b/
src/lib/elementary/elm_main.c
@@
-1388,6
+1388,7
@@
elm_quicklaunch_exe_path_get(const char *exe, const char *cwd)
const char *p, *pp;
char *buf2;
path = getenv("PATH");
+ if (!path) return NULL;
buf2 = alloca(strlen(path) + 1);
p = path;
pp = p;