xserver/hw/xfree86/dri
Enrico Weigelt, metux IT consult be470cbf46 (!1967) dix: protect from pScreen->SetCursorPosition == NULL
It's safer not relying on all ScreenProc's actually filled.

../dix/events.c: In function ‘CheckPhysLimits’:
../dix/events.c:780:14: warning: dereference of NULL ‘pScreen’ [CWE-476] [-Wanalyzer-null-dereference]
  780 |             (*pScreen->SetCursorPosition)
      |             ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 11:37:31 +02:00
..
dri.c (!1967) dix: protect from pScreen->SetCursorPosition == NULL 2025-06-03 11:37:31 +02:00
dri.h xfree86: move private definitions out of dri.h 2025-02-06 23:51:34 +00:00
dri_priv.h xfree86: move private definitions out of dri.h 2025-02-06 23:51:34 +00:00
dristruct.h (!1969) xfree86: dri: extra safety checks for NULL pointers / disabled extension 2025-06-03 11:37:31 +02:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00
sarea.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86dri.c dri: report failed memory allocation 2025-02-17 18:50:25 +00:00