projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d437765
)
e_module: fix null pointer dereference
45/49345/1
author
Boram Park
<boram1288.park@samsung.com>
Tue, 13 Oct 2015 00:54:50 +0000
(09:54 +0900)
committer
Boram Park
<boram1288.park@samsung.com>
Tue, 13 Oct 2015 00:54:50 +0000
(09:54 +0900)
Change-Id: Ibcf3b5b998a3a27713de25626a4c62493a174fb9
src/bin/e_module.c
patch
|
blob
|
history
diff --git
a/src/bin/e_module.c
b/src/bin/e_module.c
index
c06ac11
..
e853b60
100644
(file)
--- a/
src/bin/e_module.c
+++ b/
src/bin/e_module.c
@@
-309,6
+309,8
@@
e_module_new(const char *name)
if (!name) return NULL;
m = E_OBJECT_ALLOC(E_Module, E_MODULE_TYPE, _e_module_free);
+ if (!m) return NULL;
+
if (name[0] != '/')
{
Eina_Stringshare *path = NULL;