xserver/hw/xfree86/common
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
..
.gitignore
compiler.h
dgaproc.h
dgaproc_priv.h
extramodes
meson.build (!1988) xfree86: drop xf86VGAarbiter.h 2025-06-03 11:37:30 +02:00
modeline2c.awk
vesamodes
xaarop.h
xf86.h (!1982) xfree86: xf86.h: dont include propertyst.h 2025-06-03 11:37:31 +02:00
xf86AutoConfig.c
xf86Bus.c
xf86Bus.h
xf86Config.c
xf86Config.h
xf86Configure.c (!1969) xfree86: common: extra safety checks for NULL pointers 2025-06-03 11:37:31 +02:00
xf86Cursor.c
xf86DGA.c
xf86DPMS.c (!1991) xfree86: xf86Option: unexport xf86MarkOptionUsed() 2025-06-03 11:37:30 +02:00
xf86Events.c (!1969) xfree86: common: extra safety checks for NULL pointers 2025-06-03 11:37:31 +02:00
xf86Extensions.c (!1991) xfree86: xf86Option: unexport xf86MarkOptionUsed() 2025-06-03 11:37:30 +02:00
xf86Extensions.h
xf86Globals.c
xf86Helper.c (!1990) xfree86: make xf86VIDrvMsgVerb() static 2025-06-03 11:37:30 +02:00
xf86InPriv.h
xf86Init.c (!1985) randr: unexport and document RRProviderAutoConfigGpuScreen() 2025-06-03 11:37:31 +02:00
xf86MatchDrivers.h
xf86Mode.c
xf86Module.h
xf86Module_priv.h
xf86Opt.h (!1991) xfree86: xf86Option: unexport xf86MarkOptionUsedByName() 2025-06-03 11:37:30 +02:00
xf86Opt_priv.h (!1991) xfree86: xf86Option: unexport xf86MarkOptionUsedByName() 2025-06-03 11:37:30 +02:00
xf86Option.c (!1969) xfree86: common: gracefully handle allocation failure 2025-06-03 11:37:31 +02:00
xf86Optionstr.h
xf86PM.c
xf86PciInfo.h
xf86Priv.h (!1982) xfree86: xf86Priv.h: dont include propertyst.h 2025-06-03 11:37:31 +02:00
xf86Privstr.h
xf86RandR.c (!1967) dix: protect from pScreen->SetCursorPosition == NULL 2025-06-03 11:37:31 +02:00
xf86VGAarbiter.c (!1988) xfree86: drop obsolete xf86VGAarbiterDeviceDecodes() 2025-06-03 11:37:30 +02:00
xf86VGAarbiterPriv.h
xf86VGAarbiter_priv.h (!1988) xfree86: drop xf86VGAarbiter.h 2025-06-03 11:37:30 +02:00
xf86VidMode.c
xf86Xinput.c (!1990) xfree86: make xf86PostKeyEvent() static 2025-06-03 11:37:30 +02:00
xf86Xinput.h (!1990) xfree86: unexport xf86RemoveInputEventDrainCallback() 2025-06-03 11:37:30 +02:00
xf86Xinput_priv.h (!1990) xfree86: unexport xf86RemoveInputEventDrainCallback() 2025-06-03 11:37:30 +02:00
xf86cmap.c
xf86cmap.h
xf86fbBus.c
xf86fbman.c (!1997) xfree86: fbman: move FBManagerFuncs into x86fbman.c 2025-06-03 11:37:29 +02:00
xf86fbman.h (!1997) xfree86: fbman: move FBManagerFuncs into x86fbman.c 2025-06-03 11:37:29 +02:00
xf86noBus.c
xf86pciBus.c
xf86pciBus.h
xf86platformBus.c (!1969) xfree86: common: fix not-found check in xf86platformAddDevice() 2025-06-03 11:37:31 +02:00
xf86platformBus.h
xf86sbusBus.c
xf86sbusBus.h
xf86sbusBus_priv.h
xf86str.h
xf86xv.c (!1996) xfree86: xv: drop unused xf86XVFillKeyHelperPort() 2025-06-03 11:37:29 +02:00
xf86xv.h (!1996) xfree86: xv: drop unused xf86XVFillKeyHelperPort() 2025-06-03 11:37:29 +02:00
xf86xvmc.c
xf86xvmc.h
xf86xvpriv.h (!1996) xfree86: xv: unexport XF86XvScreenKey 2025-06-03 11:37:29 +02:00
xisb.c (!1995) xfree86: xisb: drop unused XisbTrace() 2025-06-03 11:37:29 +02:00
xisb.h (!1995) xfree86: xisb: drop unused XisbTrace() 2025-06-03 11:37:29 +02:00
xorgHelper.c
xorgVersion.h