xserver/mi
Peter Hutterer 15075baac2 mi: guard miPointer functions against NULL dereferences
Already in place for some functions, let's add it to most others.
The only function missing is miPointerSetPosition() which needs to
return the ScreenPtr and that one is unclear if we don't have a screen -
returning NULL will crash the caller(s) so let's wait for something to
trigger this bug before we try to fix it wrongly.

Related to #1782

(cherry picked from commit 68c17477d2)

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1895>
2025-04-08 10:03:30 +02:00
..
meson.build Drop Xorg DDX 2024-04-12 10:40:05 +02:00
mi.h
miarc.c
mibitblt.c
micmap.c
micmap.h
micoord.h
micopy.c
midash.c
midispcur.c
mieq.c
miexpose.c
mifillarc.c
mifillarc.h
mifillrct.c
mifpoly.h
migc.c
migc.h
miglblt.c
miinitext.c
miinitext.h
miline.h
mioverlay.c
mioverlay.h
mipointer.c mi: guard miPointer functions against NULL dereferences 2025-04-08 10:03:30 +02:00
mipointer.h
mipointrst.h
mipoly.c
mipoly.h
mipolypnt.c
mipolyrect.c
mipolyseg.c
mipolytext.c
mipushpxl.c
miscanfill.h
miscrinit.c
misprite.c
misprite.h
mistruct.h
mivalidate.h
mivaltree.c
miwideline.c mi: drop some dead code 2024-03-09 17:07:28 +00:00
miwideline.h
miwindow.c
mizerarc.c
mizerarc.h
mizerclip.c
mizerline.c