summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-18 13:29:51 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-18 13:29:51 -0400
commit8d0561ac9c6166d05354a097e6a643062d76167c (patch)
tree79d4edcbdb6c8a8c19f48609cfaa1fb352f5ecb5 /src
parent7a122db34289b9cc9f5f45ffe6beae943a4ece46 (diff)
elm/main: fix null deref
Summary: CID 1402697 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10449
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index cd9803a..069d1ce 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -1348,6 +1348,7 @@ elm_quicklaunch_exe_path_get(const char *exe, const char *cwd)
1348 const char *p, *pp; 1348 const char *p, *pp;
1349 char *buf2; 1349 char *buf2;
1350 path = getenv("PATH"); 1350 path = getenv("PATH");
1351 if (!path) return NULL;
1351 buf2 = alloca(strlen(path) + 1); 1352 buf2 = alloca(strlen(path) + 1);
1352 p = path; 1353 p = path;
1353 pp = p; 1354 pp = p;