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:
31245fd
)
e_hwc_windows: check 0 of dst_pos's width and height
76/213176/3
accepted/tizen/unified/20190903.110956
submit/tizen/20190903.042917
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 2 Sep 2019 08:29:40 +0000
(17:29 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Tue, 3 Sep 2019 01:52:52 +0000
(
01:52
+0000)
Change-Id: If6b82bfac537c942897b0f5496cbbea1ce9a697b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_hwc_windows.c
patch
|
blob
|
history
diff --git
a/src/bin/e_hwc_windows.c
b/src/bin/e_hwc_windows.c
index
f16e2e3
..
c168258
100644
(file)
--- a/
src/bin/e_hwc_windows.c
+++ b/
src/bin/e_hwc_windows.c
@@
-2440,6
+2440,9
@@
_e_hwc_windows_pixman_copy(E_Hwc *hwc, tbm_surface_h src_tsurface, tbm_surface_h
tbm_surface_info_s dst_tinfo = {0};
int ret = TBM_SURFACE_ERROR_NONE;
+ EINA_SAFETY_ON_FALSE_RETURN(dw > 0);
+ EINA_SAFETY_ON_FALSE_RETURN(dh > 0);
+
ret = tbm_surface_map(src_tsurface, TBM_SURF_OPTION_READ | TBM_SURF_OPTION_WRITE, &src_tinfo);
if (ret != TBM_SURFACE_ERROR_NONE)
{