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:
5795cb6
)
wl_drm: fix null pointer dereference
97/49297/2
author
Boram Park
<boram1288.park@samsung.com>
Mon, 12 Oct 2015 10:56:46 +0000
(19:56 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Mon, 12 Oct 2015 11:09:59 +0000
(
04:09
-0700)
Change-Id: I5fc150a379515062d8a358a6ad2671ef8cde738f
src/modules/wl_drm/e_mod_main.c
patch
|
blob
|
history
diff --git
a/src/modules/wl_drm/e_mod_main.c
b/src/modules/wl_drm/e_mod_main.c
index
15012b7
..
ef4ac3b
100644
(file)
--- a/
src/modules/wl_drm/e_mod_main.c
+++ b/
src/modules/wl_drm/e_mod_main.c
@@
-134,6
+134,8
@@
e_modapi_init(E_Module *m)
if (!(comp = e_comp))
{
comp = e_comp_new();
+ EINA_SAFETY_ON_NULL_RETURN_VAL(comp, NULL);
+
comp->comp_type = E_PIXMAP_TYPE_WL;
}