wlroots/xwayland/selection
Simon Ser 1aac9974d5 xwayland: stop using xcb_get_property_reply_t.value_len
This field is difficult to use correctly, its meaning depends on
format.

xcb docs read:

> You should use the corresponding accessor instead of this field.

Replace all uses with the safe accessor.

This fixes potential out-of-bounds array accesses when the format
field isn't what we expect.

(cherry picked from commit c91543352a)
2026-05-22 10:03:17 -04:00
..
dnd.c xwayland/selection: stop using VLAs for MIME type atom lists 2026-05-22 09:58:26 -04:00
incoming.c xwayland: stop using xcb_get_property_reply_t.value_len 2026-05-22 10:03:17 -04:00
outgoing.c xwayland/selection: stop using VLAs for MIME type atom lists 2026-05-22 09:58:26 -04:00
selection.c xwayland/xwm: implement somewhat asynchronous request flushing 2024-10-07 21:51:15 +03:00