Skip to content
Commit 235d9d77 authored by Simon Ser's avatar Simon Ser Committed by Héctor Orón Martínez
Browse files

client: check event opcode in queue_event

If the client binds to a global with an interface mismatch, it may receive an
event from the server with an unknown opcode. See [1].

Instead of crashing, print a more useful debug message and close the connection.

[1]: https://gitlab.freedesktop.org/wayland/wayland/issues/113



Signed-off-by: default avatarSimon Ser <simon.ser@intel.com>
parent 98c2748b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment