xserver/xfixes
Enrico Weigelt, metux IT consult 601fd0fd84 xfixes/xace: fix pointer type mismatch on XFixesSelectSelectionInput()
This could potentially be security related or crash the server:

XFixesSelectSelectionInput() calls the XACE_SELECTION_ACCESS hook with
wrong parameter type: XID instead of pointer to Selection struct.
It seems that it hadn't been kept up in XACE changed to polyinstantiation.

When XACE is used (eg. Security or SELinux extension enabled), this can
easily lead to memory corruptions at attacker-controlled locations, since
the client-given XID is interpreted as the memory location of Selection
structure.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1556>
2024-06-23 21:07:48 +00:00
..
cursor.c rename remaining RT_* defines to X11_RESTYPE_* 2024-04-15 19:00:47 -07:00
disconnect.c dix: unexport global variables 2024-03-09 17:23:43 +00:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c rename remaining RT_* defines to X11_RESTYPE_* 2024-04-15 19:00:47 -07:00
saveset.c dix: unexport some lookup functions 2024-04-15 18:11:57 -07:00
select.c xfixes/xace: fix pointer type mismatch on XFixesSelectSelectionInput() 2024-06-23 21:07:48 +00:00
xfixes.c include: move private definitions out of extinit.h 2024-04-30 00:47:38 +00:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00