projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aecd0c
)
evas canvas: ++safety
94/262194/2
accepted/tizen/unified/20210805.131712
submit/tizen/20210804.104948
author
Hermet Park
<chuneon.park@samsung.com>
Wed, 4 Aug 2021 02:49:28 +0000
(11:49 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Wed, 4 Aug 2021 05:34:36 +0000
(
05:34
+0000)
prevent null memory access.
Change-Id: I14a9e07d2a4122db9170dc40eafe0e55cc80524a
src/lib/evas/include/evas_inline.x
patch
|
blob
|
history
diff --git
a/src/lib/evas/include/evas_inline.x
b/src/lib/evas/include/evas_inline.x
index
c9b1213
..
23c223a
100644
(file)
--- a/
src/lib/evas/include/evas_inline.x
+++ b/
src/lib/evas/include/evas_inline.x
@@
-107,7
+107,7
@@
evas_object_is_opaque(Evas_Object_Protected_Data *obj)
if (obj->cur->cache.clip.a == 255)
{
/* If has mask image: Always assume non opaque */
- if ((obj->cur->clipper && obj->cur->clipper->mask->is_mask) ||
+ if ((obj->cur->clipper && obj->cur->clipper->mask
&& obj->cur->clipper->mask
->is_mask) ||
(obj->clip.mask))
return 0;
if (obj->func->is_opaque)