xserver/hw/xfree86
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michel Dänzer dce46884f9 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 15:03:50 +02:00
..
common xfree86: add exported xf86GetConsoleFd() 2026-01-14 11:16:03 +01:00
compat xfree86: compat: re-add GEInitEvent() for proprietary nvidia driver 2025-10-28 16:26:44 +01:00
ddc xfree86: ddc: new entry point for EDID parsing 2026-04-27 14:44:12 +02:00
dixmods xfree86: meson: Use install_symlink function instead of a hack. 2025-12-21 11:39:23 +01:00
doc xfree86: doc: drop mentioning xf86MapPciMem() 2025-12-10 12:47:30 +01:00
dri stop defining _XF86DRI_SERVER_ 2026-01-05 14:42:05 +01:00
dri2 dri2: Use booleans for (fake) front buffer tracking in do_get_buffers 2026-06-03 15:03:50 +02:00
drivers modesetting: perform null check before pointer is dereferenced 2026-05-11 10:14:30 +02:00
exa xfree86: meson: Use install_symlink function instead of a hack. 2025-12-21 11:39:23 +01:00
fbdevhw xfree86: meson: Use install_symlink function instead of a hack. 2025-12-21 11:39:23 +01:00
glamor_egl xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
i2c os: unexport XNFreallocarray() 2025-09-29 10:53:15 +02:00
int10 hw: move include guards up to wrap the whole file 2025-11-21 15:20:11 +01:00
loader Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
man xfree86: add MatchLayout entry to OutputClass 2025-11-20 19:29:51 +01:00
modes xf86: check return value of XF86_CRTC_CONFIG_PTR in xf86CompatOutput() 2026-04-21 10:29:20 +02:00
os-support xfree86/linux: Enable all I/O ports 2026-04-21 12:15:39 +02:00
parser xfree86: issue error if too many clocks entries are listed in config 2026-04-21 10:30:36 +02:00
ramdac xfree86: drop xf86CursorScreenKey macro 2025-11-27 13:48:22 +01:00
shadowfb xfree86: meson: Use install_symlink function instead of a hack. 2025-12-21 11:39:23 +01:00
utils xfree86: utils: gracefully handle allocation failure. 2025-06-12 16:33:37 +02:00
vgahw xfree86: add per major-version driver/module subdirectories 2025-06-12 17:21:48 +02:00
x86emu os: hw/xfree86/x86emu: Silence warnings on gcc 2025-09-22 12:12:48 +02:00
xext xfree86: move over xf86vidmode extension to hw/xfree86 2025-11-27 14:03:37 +01:00
xkb xfree86: common: move enum ActionEvent to private header 2025-12-05 12:30:46 +01:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
meson.build Revert 9a82f5c, bring back Cygwin support. 2025-12-21 12:59:03 +01:00
sdksyms.sh include: don't install client.h anymore 2025-12-05 19:44:59 +01:00
xlibre-server.h.meson.in xfree86: xlibre-server.h: fix missing HAVE_TIMINGSAFE_MEMCMP 2026-01-22 12:38:39 +01:00
xorg-config.h.meson.in meson: drop obsolete vendor information options 2025-12-17 13:52:37 +01:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00