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:
de9e901
)
evas canvas: +null check for safety.
26/259026/1
author
Hermet Park
<chuneon.park@samsung.com>
Mon, 31 May 2021 06:02:46 +0000
(15:02 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Mon, 31 May 2021 06:02:46 +0000
(15:02 +0900)
Prevent any corrupted objects in efl side...
It rarely happens that freed objects are accessed again with null properties...
Change-Id: If026d1ca29a1b9002b4f9c0c073cb4e455f55515
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
9905d49
..
27b306e
100644
(file)
--- a/
src/lib/evas/include/evas_inline.x
+++ b/
src/lib/evas/include/evas_inline.x
@@
-259,7
+259,7
@@
evas_object_is_active(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj)
need to be smarter and only do that when really needed. */
if (obj->proxy->proxies && obj->changed)
return 1;
- if (obj->mask->is_mask && obj->clip.clipees)
+ if (obj->mask
&& obj->mask
->is_mask && obj->clip.clipees)
return 1;
return 0;
}