mesa/src/broadcom
Juan A. Suarez Romero 697e98c66e v3dv: duplicate key on hashtable insert
The key is created on stack, so as soon as the function returns this key
is lost, so the inserted key in the hashtable is invalid.

Rather, insert a duplicated version on heap.

This fixes a stack-buffer-overflow when running some Vulkan CTS tests.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16083>
2022-04-22 09:18:15 +00:00
..
ci v3d: do not tile 1D textures 2022-04-19 08:03:42 +00:00
cle broadcom: add line rasterization mode to packet definition 2022-03-18 09:38:38 +00:00
clif
common broadcom: update language on V3D_DEBUG options 2022-03-28 19:21:48 +00:00
compiler broadcom/compiler: prefer reconstruction over TMU spills when possible 2022-04-08 05:37:28 +00:00
drm-shim Use proper types for meson objects 2022-04-18 13:03:08 +03:00
qpu broadcom: drop unused functions 2022-01-31 16:10:31 +00:00
simulator v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
vulkan v3dv: duplicate key on hashtable insert 2022-04-22 09:18:15 +00:00
.editorconfig
meson.build