projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187eace
)
Removed superfluous call to wl_copy_connection
author
Andy Nichols
<andy.nichols@nokia.com>
Thu, 24 Nov 2011 09:19:18 +0000
(10:19 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 14 Dec 2011 17:44:12 +0000
(12:44 -0500)
The only purpose those code seems to serve is to introduce a buffer
overflow when events contain more than 128 bytes of data.
src/wayland-client.c
patch
|
blob
|
history
diff --git
a/src/wayland-client.c
b/src/wayland-client.c
index
836a31c
..
e4f2c99
100644
(file)
--- a/
src/wayland-client.c
+++ b/
src/wayland-client.c
@@
-453,12
+453,10
@@
static void
handle_event(struct wl_display *display,
uint32_t id, uint32_t opcode, uint32_t size)
{
- uint32_t p[32];
struct wl_proxy *proxy;
struct wl_closure *closure;
const struct wl_message *message;
- wl_connection_copy(display->connection, p, size);
proxy = wl_map_lookup(&display->objects, id);
if (proxy == WL_ZOMBIE_OBJECT) {