projects
/
platform
/
core
/
uifw
/
e-mod-tizen-effect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10c5b75
)
e_mod_effect_rotation: fix svace issue
04/305904/1
author
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 13 Feb 2024 08:08:28 +0000
(17:08 +0900)
committer
Doyoun Kang
<doyoun.kang@samsung.com>
Tue, 13 Feb 2024 08:09:00 +0000
(17:09 +0900)
Change-Id: I9ec3eae87727220f36857d8b8ff702809310c589
src/e_mod_effect_rotation.c
patch
|
blob
|
history
diff --git
a/src/e_mod_effect_rotation.c
b/src/e_mod_effect_rotation.c
index 8e5e412f6253d89dc99b775c167eba1f8ced95ce..245e3ad74977a7c5de037aaa6713880328a039ca 100644
(file)
--- a/
src/e_mod_effect_rotation.c
+++ b/
src/e_mod_effect_rotation.c
@@
-398,6
+398,7
@@
_rotation_effect_object_create(Evas_Object *o)
h = surface_info.height;
pix = eobj->data = malloc(w * h * 4);
+ if (!pix) goto fail;
for (i = 0; i < h; i++)
{
memcpy(pix, data, surface_info.width * 4);
@@
-423,6
+424,7
@@
_rotation_effect_object_create(Evas_Object *o)
h = surface_info.height;
pix = eobj->data = malloc(w * h * 4);
+ if (!pix) goto fail;
for (i = 0; i < h; i++)
{
memcpy(pix, data, surface_info.width * 4);