mirror of https://gitlab.freedesktop.org/mesa/mesa
The modifiers are u_vectors, but the code was trying to access them
as dynarrays. This resulted in a wrong number of modifiers, which then
later on would also lead to invalid reads used as modifiers.
In the case of the iris driver, a wrongly read number of modifiers > 0
would also trigger an error message.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6643
Fixes:
|
||
---|---|---|
.. | ||
egl_dri2.c | ||
egl_dri2.h | ||
platform_android.c | ||
platform_android.h | ||
platform_android_mapper.cpp | ||
platform_device.c | ||
platform_drm.c | ||
platform_surfaceless.c | ||
platform_wayland.c | ||
platform_x11.c | ||
platform_x11_dri3.c | ||
platform_x11_dri3.h |