Files
xserver/dix
Alan Coopersmith 71bd80bb93 dix: handle allocation failure in ChangeWindowDeviceCursor()
Reported in #1817:

xwayland-24.1.6/redhat-linux-build/../dix/window.c:3495:9:
 warning[-Wanalyzer-possible-null-dereference]:
 dereference of possibly-NULL ‘pNewNode’
xwayland-24.1.6/redhat-linux-build/../dix/window.c:3494:20:
 acquire_memory: this call could return NULL

Fixes: 95e1a8805 ("Xi: Adding ChangeDeviceCursor request" in xorg 1.10.0)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2078>
(cherry picked from commit c9fa8a8da1)
2026-01-25 10:40:03 -08:00
..
2020-07-05 13:07:33 -07:00
2015-07-08 16:41:29 -04:00
2026-01-25 10:39:57 -08:00
2019-10-30 16:17:04 +00:00
2015-04-21 16:57:07 -07:00
2026-01-25 10:40:00 -08:00
2026-01-19 12:32:20 -08:00