xserver/present
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult 8e2d84c53e present: byte-swap notify list in sproc_present_pixmap_synced
sproc_present_pixmap_synced() swapped the fixed request header but, unlike
sproc_present_pixmap(), never byte-swapped the trailing LISTofPRESENTNOTIFY.
present_create_notifies() then read each notify window/serial in the wrong
byte order for swapped clients, so PresentPixmapSynced with notifies resolved
the wrong (or no) window. Bounds are enforced by req_len and dixLookupWindow()
so there was no memory-safety impact, only incorrect behaviour.

Add the missing SwapRestL(stuff).

Fixes: ac0bc0b3b6 ("Present: add PresentCapabilitySyncobj and PresentPixmapSynced")
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-12 19:01:45 +02:00
..
meson.build treewide: remove "lib" prefix in static_library names (meson) 2025-07-03 12:01:52 +02:00
present.c randr: unexport and document RRFirstEnabledCrtc() 2025-06-12 16:27:32 +02:00
present.h present: unexport present_extension_init() 2025-06-12 17:21:45 +02:00
present_event.c dix: make LEGAL_NEW_RESOURCE() macro private 2025-06-12 17:21:43 +02:00
present_execute.c present: need to include dix-config.h 2025-02-23 17:18:46 +00:00
present_fake.c present: need to include dix-config.h 2025-02-23 17:18:46 +00:00
present_fence.c present: need to include dix-config.h 2025-02-23 17:18:46 +00:00
present_notify.c present: actually return the created notifies 2026-06-05 14:59:40 +02:00
present_priv.h present: use CloseScreen hook 2025-06-12 16:45:40 +02:00
present_request.c present: byte-swap notify list in sproc_present_pixmap_synced 2026-06-12 19:01:45 +02:00
present_scmd.c treewide: drop COMPOSITE symbol 2025-06-12 16:47:01 +02:00
present_screen.c miext: move over extinit_priv.h from include 2025-06-12 17:21:46 +02:00
present_vblank.c present: need to include dix-config.h 2025-02-23 17:18:46 +00:00