mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 23:10:28 +01:00
Using memcpy with the max size generates a global-buffer-overflow, as
the performance counter strings are smaller than the max size.
Instead, use a string copy function to get a copy.
This was detected with address sanitizer enabled and running vulkaninfo.
Fixes:
|
||
|---|---|---|
| .. | ||
| meson.build | ||
| v3d_simulator.c | ||
| v3d_simulator.h | ||
| v3d_simulator_wrapper.cpp | ||
| v3d_simulator_wrapper.h | ||
| v3dx_simulator.c | ||
| v3dx_simulator.h | ||