mesa/src/mesa
Adam Stylinski 56e758d9e9 mesa: fix out of bounds stack access on big endian
The texture format code relies on a python-generated atlas of structs
that describe a lookup table for texture swizzling. Many of these
texture formats contain the index "6" used for this lookup. The 6th
index just so happens to represent a "don't care" value, however the
out of bounds read is still best to be avoided. The address sanitizer
finds this issue pretty immediately but it only shows up on big endian
because the textures don't need this on little.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20846>
2023-01-25 23:27:10 +00:00
..
main mesa: fix out of bounds stack access on big endian 2023-01-25 23:27:10 +00:00
math util: Replace the usage of ALIGN16 with alignas(16) and them remove ALIGN16 macro 2022-11-10 05:04:12 +00:00
program mesa: Set info.separate_shader for ARB programs 2023-01-18 21:06:03 +00:00
state_tracker mesa: (more) correctly handle incomplete depth textures 2023-01-24 09:13:48 +00:00
vbo glthread: do vertex uploads if an index buffer is present for glDrawElements 2023-01-20 21:34:09 -05:00
x86 util: cleanup cpuinfo.* and it's related files 2022-11-15 19:06:07 +00:00
meson.build st/mesa: move st_atom.c contents into st_context.c 2022-12-12 19:15:34 +00:00