xserver/Xext/dri2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michel Dänzer 422d6764e5 dri2: Use booleans for (fake) front buffer tracking in do_get_buffers
This works as intended — the (fake) front buffer needs to be added
only if the client didn't request it in the first place — even if the
client requests the same attachment multiple times. This ensures we
never try to access more than (count + 1) entries of the buffers array.

Fixes: ff6c7764c2 ("DRI2: Implement protocol for DRI2GetBuffersWithFormat")
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2228>
2026-06-03 19:09:51 +02:00
..
pci_ids Xext: dri2: pci_ids: fix includes (silence clang-tidy) 2026-04-24 18:15:46 +02:00
dri2.c dri2: Use booleans for (fake) front buffer tracking in do_get_buffers 2026-06-03 19:09:51 +02:00
dri2_priv.h
dri2ext.c Xext/dri2: Add a comment 2026-04-13 18:14:33 +02:00
dri2int.h Xext: dri2: dri2int.h: fix missing include 2026-04-22 20:13:29 +02:00
meson.build Xext: dri2: move over public SDK header to include/ 2026-02-12 15:36:07 +01:00