Files
xserver/dix
Alan Coopersmith 274f33f146 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-10 12:48:06 +01:00
..
2020-07-05 13:07:33 -07:00
2025-06-12 17:21:43 +02:00
2025-06-12 17:21:48 +02:00
2025-06-12 17:21:48 +02:00
2025-02-11 19:13:01 +01:00
2025-06-12 17:21:48 +02:00
2025-06-17 12:51:36 +02:00
2025-06-17 12:51:36 +02:00
2025-06-12 16:43:51 +02:00
2025-02-11 19:13:01 +01:00
2025-06-12 17:21:46 +02:00
2025-06-12 16:53:34 +02:00
2025-08-15 14:26:09 +02:00
2024-03-05 16:57:52 +01:00
2025-06-12 16:49:43 +02:00
2025-06-12 17:21:48 +02:00
2025-06-12 17:21:48 +02:00
2013-07-23 23:56:58 +01:00