xserver/hw/xfree86
Doug Brown 4898415c6b 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
2024-09-19 15:03:01 +02:00
..
common (!1691) os: log: replace ErrorFSigSafe() by ErrorF() 2024-09-19 15:03:01 +02:00
ddc (submit/cleanup-api-xfree86) xfree86: ddc: move private definitions from xf86DDC.h to xf86DDC_priv.h 2024-09-18 17:23:11 +02:00
dixmods (submit/miext-extinit) treewide: clean up remaining consumers of extinit.h 2024-09-18 17:23:11 +02:00
doc (!1681) xfree86: use LogMessageVerb() instead of xf86MsgVerb() 2024-09-18 17:23:09 +02:00
dri (submit/rename-panoramix-sym) rename old symbol PANORAMIX to XINERAMA 2024-09-18 17:23:12 +02:00
dri2 dri2: Protect against dri2ClientPrivate assertion failures 2024-09-19 15:03:01 +02:00
drivers (!1691) os: log: replace LogMessageVerbSigSafe() by LogMessageVerb() 2024-09-19 15:03:01 +02:00
exa treewide: replace xnfalloc() calls to XNFalloc() 2024-07-26 23:41:33 +00:00
fbdevhw (!1681) xfree86: fbdevhw: use LogMessageVerb() instead of xf86Msg() 2024-09-18 17:23:09 +02:00
glamor_egl (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-09-18 17:23:11 +02:00
i2c (!1681) xfree86: i2c: use LogMessageVerb() instead of xf86Msg() 2024-09-18 17:23:09 +02:00
int10 (!1691) os: log: replace VErrorF() by LogVMessageVerb() 2024-09-19 15:03:01 +02:00
loader (!1691) os: log: replace LogMessageVerbSigSafe() by LogMessageVerb() 2024-09-19 15:03:01 +02:00
man (!1688) xfree86: man: add -syslogverbse flag 2024-09-19 15:02:54 +02:00
modes (submit/rename-panoramix-sym) rename old symbol PANORAMIX to XINERAMA 2024-09-18 17:23:12 +02:00
os-support bsd: drop PCCONS support 2024-09-19 15:03:01 +02:00
parser (!1691) os: log: replace VErrorF() by LogVMessageVerb() 2024-09-19 15:03:01 +02:00
ramdac dix: unexport cursor refcounting functions 2024-09-02 16:43:29 +00:00
shadowfb Remove autotools support 2021-10-27 13:15:40 +03:00
utils Remove autotools support 2021-10-27 13:15:40 +03:00
vgahw (!1688) os: unexport internal logging functions 2024-09-18 17:23:12 +02:00
x86emu xfree86: x86emu: rename segment register fields 2024-06-18 00:41:38 +00:00
xkb (submit/drop-obsolete-have-dix-config.h) drop obsolete HAVE_DIX_CONFIG_H 2024-09-18 17:23:11 +02:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build (submit/drop-cygwin) drop remains of cygwin support 2024-09-18 17:23:12 +02:00
sdksyms.sh (submit/cleanup-api-xfree86) xfree86: sdksyms.sh: add more headers 2024-09-18 17:23:11 +02:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00