xserver/os
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alan Coopersmith df26f56dc7 os: handle memory allocation failure in set_font_authorizations()
Reported in #1817:
xwayland-24.1.6/redhat-linux-build/../os/utils.c:1108:9:
 warning[-Wanalyzer-possible-null-dereference]:
  dereference of possibly-NULL ‘result’
xwayland-24.1.6/redhat-linux-build/../os/utils.c:1108:9:
 danger: ‘malloc((long unsigned int)len + 18)’ could be NULL:
  unchecked value from (3)

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2163>
2026-04-21 10:44:53 +02:00
..
.gitignore
access.c
alloc.c
audit_priv.h
auth.c
auth.h
backtrace.c
bug_priv.h
busfault.c
busfault.h
client.c
client_priv.h
cmdline.c
cmdline.h
connection.c
ddx_priv.h
fmt.c
fmt.h
inputthread.c
io.c
io_priv.h
log.c
log_priv.h
mathx_priv.h
meson.build
mitauth.c
mitauth.h
osdep.h
osinit.c
ospoll.c
ospoll.h
ossock.c
ossock.h
probes_priv.h
reallocarray.c
screensaver.h
serverlock.c
serverlock.h
strcasecmp.c
strcasestr.c
string.c
strlcat.c
strlcpy.c
strndup.c
timingsafe_memcmp.c
transport.c
utils.c os: handle memory allocation failure in set_font_authorizations() 2026-04-21 10:44:53 +02:00
WaitFor.c
xdmauth.c
xdmauth.h
xdmcp.c
xdmcp.h
xhostname.c
xhostname.h
xprintf.c
xserver_poll.c
xserver_poll.h
xsha1.c
xsha1.h
Xtrans.c
Xtrans.h
Xtransint.h
Xtranssock.c
Xtransutil.c