xserver/composite
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mikhail Dmitrichenko 3461533a84 composite: fix potential mem leak in PanoramiXCompositeNameWindowPixmap
newPix leaks if AddResource() call failes inside the FOR_NSCREENS
loop (per-screen pixmap IDs).

free newPix in mentioned execution path to prevent potential leak.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko222@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2173>
2026-04-21 12:18:52 +02:00
..
compalloc.c composite: Skip copying parent pixmap contents when possible 2026-02-06 11:59:24 +01:00
compext.c composite: fix potential mem leak in PanoramiXCompositeNameWindowPixmap 2026-04-21 12:18:52 +02:00
compinit.c composite: fix missing includes of extinit.h 2025-09-25 13:47:57 +02:00
compint.h composite: replace DDXPoint by xPoint 2026-02-10 15:59:01 +01:00
compositeext_priv.h composite: fix duplicate typedef of ScreenPtr 2024-04-18 00:51:06 +00:00
compoverlay.c composite: fix missing includes of extinit.h 2025-09-25 13:47:57 +02:00
compwindow.c composite: replace DDXPoint by xPoint 2026-02-10 15:59:01 +01:00
meson.build composite: move public SDK header to include/ 2026-02-12 13:21:41 +01:00