projects
/
platform
/
core
/
uifw
/
libds-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e6400
)
tinyds: Fix passing wrong arg to wl_container_of
83/278183/1
author
Seunghun Lee
<shiin.lee@samsung.com>
Wed, 4 May 2022 06:31:58 +0000
(15:31 +0900)
committer
SooChan Lim
<sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:58:35 +0000
(14:58 +0900)
This led segfault illegally accessing wrong pointer.
Change-Id: I28e64be8c0d0abd5ee8e164353a5c038a2c7ce52
src/examples/tinyds.c
patch
|
blob
|
history
diff --git
a/src/examples/tinyds.c
b/src/examples/tinyds.c
index
fcaabaf
..
e054e71
100644
(file)
--- a/
src/examples/tinyds.c
+++ b/
src/examples/tinyds.c
@@
-380,7
+380,7
@@
pointer_handle_frame(struct wl_listener *listener, void *data)
{
struct tinyds_pointer *pointer;
- pointer = wl_container_of(listener, pointer,
motion
);
+ pointer = wl_container_of(listener, pointer,
frame
);
ds_inf("Pointer(%p) frame", pointer);
}