xorg-libx11/src/xkb
Alan Coopersmith 88d1a84ca3 XkbChangeTypesOfKey: verify newTypesIn is not null before using it
Based on xorg/xserver@97c9e6a713

Fixes: 8ba0ca32 ("Janitor: ansification, make distcheck, compiler warnings.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279>
2025-02-26 17:26:00 -08:00
..
Makefile.am Fix out-of-tree builds after commit 8a62e26515 2018-12-29 11:40:50 -08:00
XKB.c unifdef __sgi 2024-02-20 17:05:50 -08:00
XKBAlloc.c XkbFreeKeyboard: set xkb->geom to NULL after freeing it 2025-02-26 17:25:46 -08:00
XKBBell.c Reindent XKB code to X.Org standard style 2013-08-20 12:51:10 -07:00
XKBBind.c Don't use pragma inside a function, it breaks compiling with older GCCs. 2022-11-11 17:05:30 +00:00
XKBCompat.c Rearrange some variable declarations & initializations in XKB 2013-08-20 12:51:10 -07:00
XKBCtrls.c Reindent XKB code to X.Org standard style 2013-08-20 12:51:10 -07:00
XKBCvt.c unifdef __sgi_not_xconsortium 2024-02-20 17:05:50 -08:00
XKBExtDev.c Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons 2024-01-18 00:07:04 +00:00
XKBGAlloc.c XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 2022-04-23 16:38:49 +00:00
XKBGeom.c XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 2022-04-23 16:38:49 +00:00
XKBGetByName.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
XKBGetMap.c CVE-2023-43785: out-of-bounds memory access in _XkbReadKeySyms() 2023-09-22 14:50:34 -07:00
XKBleds.c xkb: avoid undefined behavior due to left shift overflow 2024-11-16 21:11:07 +00:00
XKBlibint.h _XkbCheckPendingRefresh: add do ... while (0) to avoid -Wextra-semi-stmt 2024-11-10 11:48:41 -08:00
XKBList.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
XKBMAlloc.c xkb: Allocate size_syms correctly when width of a type increases 2025-02-26 17:25:52 -08:00
XKBMisc.c XkbChangeTypesOfKey: verify newTypesIn is not null before using it 2025-02-26 17:26:00 -08:00
XKBNames.c xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() 2022-07-15 22:35:49 +00:00
XKBRdBuf.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
XKBSetGeom.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
XKBSetMap.c Rearrange some variable declarations & initializations in XKB 2013-08-20 12:51:10 -07:00
XKBUse.c Don't leave dangling pointers in Free functions 2020-11-18 14:27:59 -08:00