xserver/mi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Herman Semenoff a60d7b2513 mi: guard against NULL event pointer
In miPointerSetPosition(), ensure nevents and events pointers are non-NULL
before checking for and updating barrier event coordinates to avoid potential
NULL pointer dereferences

(cherry picked from commit 11bb4b1b73)
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-10-05 13:19:17 +02:00
..
meson.build treewide: remove "lib" prefix in static_library names (meson) 2025-07-03 12:01:52 +02:00
mi.h treewide: don't include <region.h> anymore 2025-11-27 19:27:27 +01:00
mi_priv.h mi: mark miWindowExposures() and miExpandDirectColors() exported 2025-06-12 17:21:48 +02:00
miarc.c Handle -Wimplicit-fallthrough warnings from gcc 16.1 2026-08-24 12:41:10 +02:00
micmap.c dix: add dixAllocServerXID() 2025-06-12 17:21:48 +02:00
micmap.h (1832) mi: micmap: drop unused miInitVisualsProcPtr type 2025-06-12 17:21:43 +02:00
micoord.h mi: drop intToCoord() macro 2025-11-27 18:25:12 +01:00
micopy.c mi: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
midash.c mi: unexport miStepDash() 2025-02-06 16:45:20 +02:00
midispcur.c mi: fix double-free/UAF in miDCInitialize() on miSpriteInitialize() failure 2026-08-24 13:34:47 +02:00
mieq.c DPMS: Don't wake display from input when timeouts are disabled 2026-10-05 10:36:56 +02:00
miexpose.c include: windowstr.h: unexport w*() macros 2025-11-27 19:54:42 +01:00
mifillarc.c mi: use calloc() instead of malloc() 2025-06-12 16:49:27 +02:00
mifillarc.h mi: Unexport arc fill implementation details 2014-10-27 15:45:21 -04:00
mifpoly.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
migc.c mi: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
migc.h mi: Add include guards to migc.h 2017-02-16 15:10:32 -05:00
miglblt.c fb/mi/glamor: reject glyphs with negative dimensions 2026-07-22 17:29:12 +02:00
miinitext.c meson: rename symbol MITSHM to CONFIG_MITSHM 2025-08-05 11:39:28 +02:00
miinitext.h mi: move include guards up to wrap the whole file 2025-11-21 15:20:11 +01:00
miline.h mi: add/fix include guards where missing/broken 2025-06-27 13:58:05 +02:00
mioverlay.c include: windowstr.h: unexport w*() macros 2025-11-27 19:54:42 +01:00
mioverlay.h mi: move include guards up to wrap the whole file 2025-11-21 15:20:11 +01:00
mipointer.c mi: guard against NULL event pointer 2026-10-05 13:19:17 +02:00
mipointer.h mi: (re)export and document miPointerInitialize() 2025-02-13 23:53:39 +00:00
mipointer_priv.h mi: (re)export and document miPointerInitialize() 2025-02-13 23:53:39 +00:00
mipointrst.h dix: Update some comments to reflect the new non-SIGIO input model 2016-06-08 11:36:32 -04:00
mipoly.c mi: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
mipoly.h mi: add/fix include guards where missing/broken 2025-06-27 13:58:05 +02:00
mipolypnt.c mi: use NULL instead of NullClient 2025-07-18 22:24:55 +02:00
mipolyrect.c mi: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
mipolyseg.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
mipolytext.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
mipushpxl.c mi: fix missing braces for expected logical condition 'if-else if' 2025-11-26 16:45:55 +01:00
miscanfill.h mi: move include guards up to wrap the whole file 2025-11-21 15:20:11 +01:00
miscrinit.c meson: rename symbol MITSHM to CONFIG_MITSHM 2025-08-05 11:39:28 +02:00
misprite.c dix: move ColormapRec declaration out of public header 2025-06-12 17:21:43 +02:00
misprite.h mi: add/fix include guards where missing/broken 2025-06-27 13:58:05 +02:00
mistruct.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
mivalidate.h mi: move include guards up to wrap the whole file 2025-11-21 15:20:11 +01:00
mivaltree.c include: windowstr.h: unexport w*() macros 2025-11-27 19:54:42 +01:00
miwideline.c mi: fail on reallocarray failure in miAppendSpans 2026-05-01 18:50:37 +02:00
miwideline.h mi: use NULL instead of NullClient 2025-07-18 22:24:55 +02:00
miwindow.c mi: Handle allocation failure in XYToWindow() spriteTrace realloc 2026-04-30 18:21:40 +02:00
mizerarc.c mi: use NULL instead of NullClient 2025-07-18 22:24:55 +02:00
mizerarc.h mi: add/fix include guards where missing/broken 2025-06-27 13:58:05 +02:00
mizerclip.c mi: miline.h: unexport only locally used macros 2025-02-06 22:18:11 +00:00
mizerline.c mi: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00