xserver/render
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult b8929890a3 render: zero reply buffers in QueryPictFormats and QueryFilters
ProcRenderQueryPictFormats left the internal padding of xPictFormInfo (pad1)
and xPictDepth (pad1, pad2) unwritten, and ProcRenderQueryFilters left the
odd-count alias alignment slot and the filter-name alignment tail unwritten.
Both reply buffers were allocated with the non-zeroing x_rpcbuf_reserve(), so
those bytes disclosed uninitialized server heap to the client.

Use x_rpcbuf_reserve0() for both reply payloads.

Fixes: fe9fcfe98f ("render: ProcRenderQueryPictFormats(): use x_rpcbuf_t")
Fixes: 81f93d19a0 ("render: ProcRenderQueryFilters(): use x_rpcbuf_t")
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-12 18:52:42 +02:00
..
animcur.c treewide: macros lambda-esque screen iteration 2025-10-01 11:40:34 +02:00
filter.c treewide: macros lambda-esque screen iteration 2025-10-01 11:40:34 +02:00
glyph.c render: handle -Wanalyzer-null-dereference in AllocateGlyphHash() 2026-04-21 12:24:55 +02:00
glyphstr.h render: fix missing include in glyphstr.h 2025-09-26 16:45:16 +02:00
glyphstr_priv.h
matrix.c render: drop obsolete including of colormapst.h 2025-06-12 17:21:43 +02:00
meson.build treewide: remove "lib" prefix in static_library names (meson) 2025-07-03 12:01:52 +02:00
miindex.c render: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
mipict.c treewide: replace PICT_TYPE_A by PIXMAN_TYPE_A 2025-08-07 15:35:38 +02:00
mipict.h
mirect.c render: use NULL instead of NullClient 2025-07-18 22:24:55 +02:00
mitrap.c
mitri.c
picture.c render: fix multiple mem leaks on err paths 2026-04-21 10:14:25 +02:00
picture.h render: picture: make PictFormatShort equal to pixman_format_code_t 2025-08-06 13:49:13 +02:00
picturestr.h render: drop obsolete pict_t_* defines 2025-11-27 11:58:33 +01:00
picturestr_priv.h
render.c render: zero reply buffers in QueryPictFormats and QueryFilters 2026-06-12 18:52:42 +02:00