[Git][wine/vkd3d][master] tests/d3d12: Avoid out-of-bounds access when evaluating ok() args (ubsan).
Henri Verbeet pushed to branch master at wine / vkd3d Commits: 66d0c2a4 by Francisco Casas at 2025-06-09T16:09:22+02:00 tests/d3d12: Avoid out-of-bounds access when evaluating ok() args (ubsan). Compiling and running with UBSan reported the following errors: tests/d3d12.c:31063:5: runtime error: index 4 out of bounds for type 'float [4][8]' tests/d3d12.c:31063:5: runtime error: index 8 out of bounds for type 'float [8]' tests/d3d12.c:31063:5: runtime error: load of address 0x557ee85a1500 with insufficient space for an object of type 'const float' tests/d3d12.c:31248:5: runtime error: index 4 out of bounds for type 'float [4][4]' tests/d3d12.c:31248:5: runtime error: index 4 out of bounds for type 'float [4]' tests/d3d12.c:31248:5: runtime error: load of address 0x557ee85a10d0 with insufficient space for an object of type 'const float' - - - - - 1 changed file: - tests/d3d12.c View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/66d0c2a426fd7575dbbb9b5599629c... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/66d0c2a426fd7575dbbb9b5599629c... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Henri Verbeet (@hverbeet)