Skip to content
Commit a09d7f0d authored by Jason Ekstrand's avatar Jason Ekstrand Committed by Kristian Høgsberg
Browse files

wayland-server: Verify request versions before invoking handler



This commit provides a layer of protection for the compositor in the form
of message version checking.  We track version information in the
wl_resource and now use this version information to verify that a request
exists in that protocol version before invoking it.  This way libwayland
won't accidentally invoke a request that does not exist and thereby cause
the compositor to crash.

Signed-off-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent 4917a967
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