xserver/hw
Doug Brown a0834009cf dri2: Protect against dri2ClientPrivate assertion failures
If DRI2ScreenInit hasn't been called yet, DRI2Authenticate and
DRI2CreateDrawable2 cause the X server to crash. This has been observed
to happen on multiple modern Linux distros in various conditions,
including QEMU and VMware VMs. Make these functions more robust in order
to prevent the crash.

This patch was originally provided by Bernhard Übelacker and expanded
upon by Mark Wagner.

Signed-off-by: Doug Brown <doug@schmorgal.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1053
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1534
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1608>
2025-02-19 11:25:01 +00:00
..
kdrive os: unexport CloseWellKnownConnections() 2025-02-18 10:53:45 +00:00
vfb xvfb: Add multiple CRTC support 2025-02-13 23:22:49 +00:00
xfree86 dri2: Protect against dri2ClientPrivate assertion failures 2025-02-19 11:25:01 +00:00
xnest os: unexport CloseWellKnownConnections() 2025-02-18 10:53:45 +00:00
xquartz os: unexport ListenOnOpenFD() 2025-02-18 10:53:44 +00:00
xwayland misc.h: unexport compare_version() 2025-02-18 11:17:40 +00:00
xwin xwin: drop duplicate OsVendorVErrorF() 2025-02-06 23:35:27 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00