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:
8aea227
)
e_comp_wl_subsurface: fix svace issue dereferencing null pointer.
94/217394/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 11 Nov 2019 07:42:53 +0000
(16:42 +0900)
committer
Seunghun Lee
<shiin.lee@samsung.com>
Mon, 11 Nov 2019 07:42:53 +0000
(16:42 +0900)
Change-Id: I12f584383a5aa0ce802a64ef323e4fa5699a51c9
src/bin/e_comp_wl_subsurface.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_subsurface.c
b/src/bin/e_comp_wl_subsurface.c
index 1fe0fb0646236fa935faa3fa55559abab85ea298..20e73dc64aef9d0b02318271c406659d34d840df 100644
(file)
--- a/
src/bin/e_comp_wl_subsurface.c
+++ b/
src/bin/e_comp_wl_subsurface.c
@@
-10,6
+10,9
@@
_e_comp_wl_subsurface_restack_bg_rectangle(E_Client *ec)
{
E_Client *bottom = ec;
+ if (!ec || !ec->comp_data || e_object_is_del(E_OBJECT(ec)))
+ return;
+
if (!ec->comp_data->sub.below_obj)
return;