projects
/
platform
/
core
/
uifw
/
libtbm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
927a1e5
)
tbm_surface: fixed deref after null
58/179658/4
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 21 May 2018 02:49:16 +0000
(11:49 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Mon, 21 May 2018 03:31:39 +0000
(
03:31
+0000)
Change-Id: I5601f2ff3d732423b6dcc0393188d4499c973827
src/tbm_surface_internal.c
patch
|
blob
|
history
diff --git
a/src/tbm_surface_internal.c
b/src/tbm_surface_internal.c
index
6edc597
..
2fc3d8c
100644
(file)
--- a/
src/tbm_surface_internal.c
+++ b/
src/tbm_surface_internal.c
@@
-2609,7
+2609,7
@@
tbm_surface_internal_get_damage(tbm_surface_h surface, int *x, int *y, int *widt
if (height) *height = surf->damage.height;
TBM_TRACE_SURFACE_INTERNAL("tbm_surface(%p) x(%d) y(%d) width(%d) height(%d)\n",
- surface,
*x, *y, *width, *
height);
+ surface,
surf->damage.x, surf->damage.y, surf->damage.width, surf->damage.
height);
_tbm_surface_mutex_unlock();