mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-23 06:43:07 +00:00
present: Fix missing byte swaps in sproc_present_pixmap()
sproc_present_pixmap() was missing byte swaps the variable-length
xPresentNotify array after the fixed header was not
byte-swapped at all (each entry has window and serial CARD32 fields).
Fixes: a5ac3c8712 ("present: add missing byte swapping for various fields")
Assisted-by: Claude:claude-claude-opus-4-6
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2202>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
1c0c3b49c3
commit
bd03a8d408
1 changed files with 1 additions and 0 deletions
|
|
@ -364,6 +364,7 @@ sproc_present_pixmap(ClientPtr client)
|
|||
swapll(&stuff->divisor);
|
||||
swapll(&stuff->remainder);
|
||||
swapl(&stuff->idle_fence);
|
||||
SwapRestL(stuff);
|
||||
return proc_present_pixmap(client);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue