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:
6d91952
)
e_compositor: Add null checking of ds_surface
34/307334/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Thu, 7 Mar 2024 05:49:02 +0000
(14:49 +0900)
committer
Tizen Window System
<tizen.windowsystem@gmail.com>
Thu, 7 Mar 2024 08:47:53 +0000
(17:47 +0900)
Change-Id: I0869a916f14dca3fb82f841b732d6f0ac460b533
src/bin/e_compositor.c
patch
|
blob
|
history
diff --git
a/src/bin/e_compositor.c
b/src/bin/e_compositor.c
index
5c43227
..
5f9fc3e
100644
(file)
--- a/
src/bin/e_compositor.c
+++ b/
src/bin/e_compositor.c
@@
-1363,6
+1363,9
@@
_e_subsurface_from_surface(E_Surface *surface)
{
struct ds_subsurface *ds_subsurface;
+ if (!surface->ds_surface)
+ return NULL;
+
ds_subsurface = ds_subsurface_from_surface(surface->ds_surface);
if (!ds_subsurface)
return NULL;