Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 0f7bb922 by Francisco Casas at 2025-02-03T15:58:19+01:00 tests/shader_runner: Pass the correct buffer size to swprintf() in dxc_compiler_compile_shader().
swprintf() expects the length of the buffer in WCHARs instead of bytes, so ARRAY_SIZE() is used instead of sizeof().
This caused almost all tests to terminate abruptly with the following message, in my machine:
*** buffer overflow detected ***: terminated
- - - - -
1 changed file:
- tests/shader_runner.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/0f7bb922ba398dd75f58ec0ceeacb3...