mesa/src/gallium/drivers
Alyssa Rosenzweig f9e11c71c7 asahi: Fix undefined behaviour with samplers
bind_sampler_states doesn't zero [nr_samplers, PIPE_MAX_SAMPLERS) so can get
non-null garbage samplers leading to a use-after-free (segfault derefencing
sampler) or a buffer overflow (writing samplers[] out).

Fixes crashes in Xonotic.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reported-by: dcow
Tested-by: dcow
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19994>
2022-11-25 18:11:10 +00:00
..
asahi asahi: Fix undefined behaviour with samplers 2022-11-25 18:11:10 +00:00
crocus intel/compiler: Remove redundant argument from brw_nir_create_passthrough_tcs 2022-11-19 00:35:56 +00:00
d3d12 util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
etnaviv etnaviv: Hide MSAA support behind debug flag 2022-11-23 21:12:11 +00:00
freedreno freedreno,tu,ir3: DCE ij_pix 2022-11-22 11:56:21 +00:00
i915 i915g: fix typo in #if 2022-11-23 19:41:44 +00:00
iris iris: s/#if/#ifdef/ to fix -Wundef 2022-11-23 19:41:44 +00:00
lima gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
llvmpipe gallium/draw: properly fix short aalines 2022-11-23 10:39:00 +00:00
nouveau gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
panfrost util: Move src/gallium/include/pipe/p_format.h to src/util/format/u_formats.h 2022-11-19 03:38:19 +00:00
r300 r300: fix r300_max_vertex_count 2022-11-24 08:06:22 +00:00
r600 r600: Fixes -Werror,-Wunused-but-set-variable for clang-15 2022-11-24 02:56:03 +00:00
radeonsi radeonsi: mark glx-multithread-texture as a flake 2022-11-25 16:52:50 +00:00
softpipe ci/softpipe: Add another blit flake. 2022-11-22 21:28:02 +00:00
svga gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
tegra gallium: fixup some inconsistent uses of enum pipe_shader_type. 2022-08-04 08:17:39 +00:00
v3d v3d: make format/modifier logic easier to read 2022-11-22 14:53:18 +00:00
vc4 util: Remove os/os_thread.h and replace #include "os/os_thread.h" with #include "util/u_thread.h" 2022-11-08 05:21:42 +00:00
virgl virgl: Fix injection of double from const mov instruction 2022-11-25 11:54:18 +00:00
zink docs/zink: update query requirements 2022-11-25 06:50:59 +00:00