diff options
| author | Simon Ser <simon.ser@intel.com> | 2019-08-28 17:11:21 +0300 |
|---|---|---|
| committer | Pekka Paalanen <pq@iki.fi> | 2019-09-05 11:01:12 +0000 |
| commit | a277cc6d5238321a37951bd0a0448bb6ce0e115f (patch) | |
| tree | dbd36d80f07585f90767dbba22ec20c5dfa8ab83 /protocol | |
| parent | server: Fix fake "Address already in use" error (diff) | |
| download | wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.tar wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.tar.gz wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.tar.bz2 wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.tar.lz wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.tar.xz wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.tar.zst wayland-a277cc6d5238321a37951bd0a0448bb6ce0e115f.zip | |
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: Simon Ser <simon.ser@intel.com>
Diffstat (limited to 'protocol')
0 files changed, 0 insertions, 0 deletions
