Skip to content

dix: Use CopyPartialInternalEvent in EnqueueEvent

Peter Hutterer requested to merge whot/xserver:xwayland-22.1 into xwayland-22.1

The event might be a DeviceEvent allocated on the stack, in AccessXKeyboardEvent for instance. Fixes out-of-bounds read.

(cherry picked from commit 2ef5ef57)

Backport of !1044 (merged)

cc @mgorse

Merge request reports

Loading