mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
Removed superfluous call to wl_copy_connection
The only purpose those code seems to serve is to introduce a buffer overflow when events contain more than 128 bytes of data.
This commit is contained in:
parent
187eace613
commit
f598691831
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue