Files
xserver/dix
Alan Coopersmith 2be080c4e3 dix: set errorValue correctly when XID lookup fails in ChangeGCXIDs()
dixLookupResourceByType always overwrites the pointer passed in as the
first arg, so we shouldn't use the union it's in after that to get the
requested XID value to put in the errorValue.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1857
Fixes: 2d7eb4a19b ("Pre-validate ChangeGC XIDs.")
Reported-by: Mouse <mouse@Rodents-Montreal.ORG>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2111>
2025-12-09 17:41:25 +01:00
..
2020-07-05 13:07:33 -07:00
2025-11-11 10:46:29 +01:00
2025-02-11 19:13:01 +01:00
2025-12-03 14:30:02 +01:00
2025-11-20 17:42:29 +01:00
2025-11-11 10:46:29 +01:00
2025-07-18 22:24:55 +02:00
2025-11-20 19:22:35 +01:00
2024-03-05 16:57:52 +01:00
2025-11-25 18:26:02 +01:00
2025-12-03 14:30:02 +01:00
2025-11-27 13:46:37 +01:00
2025-11-27 13:46:37 +01:00