mesa/src/loader
Bram Stolk 3d8286d7c8
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
loader: fix UB in wayland helper code.
The wayland helper will use uninitialized data, causing undefined
behaviour.

This was because the feedback data was allocated, but not fully
initialized.

After the fix, SDL's vulkantest runs cleanly through valgrind. Before,
it would not.

Signed-off-by: Bram Stolk <b.stolk@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39133>
2026-01-03 07:56:38 +00:00
..
loader.c loader: Wrap nouveau_zink_predicate with HAVE_LIBDRM 2025-11-20 18:39:19 +00:00
loader.h kmsro: look for graphics capable screen as renderonly device 2025-03-05 10:48:28 +00:00
loader_dri_helper.c dri: Add additional 16/32b float/int formats 2025-07-15 12:37:10 +00:00
loader_dri_helper.h dri: Convert DRI_IMAGE_FORMAT to pipe_format 2025-07-15 12:37:09 +00:00
loader_wayland_helper.c loader: fix UB in wayland helper code. 2026-01-03 07:56:38 +00:00
loader_wayland_helper.h loader/wayland: Move acquisition time tracking into perfetto flows 2025-05-26 16:13:25 -05:00
meson.build meson: use the wayland module 2025-09-22 16:35:26 +00:00
pci_id_driver_map.h loader: handle picking zink for nouveau for certain GPUs. 2024-02-21 11:16:25 +10:00