Henri Verbeet pushed to branch master at wine / vkd3d
Commits: e9d08df0 by Giovanni Mascellani at 2025-11-24T19:03:29+01:00 vkd3d-shader/dxil: Check the fields of well-known structure types.
The main reason is to avoid making false assumptions in the code. I don't know how that could be used, say, to introduce a security bug, but I think validating untrusted input should be done by default.
Conveniently this also acts as documentation for who needs to know what fields we indeed expect to find in a well-known structure.
- - - - -
1 changed file:
- libs/vkd3d-shader/dxil.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/e9d08df0108e1a6b7dd67b37f3ed2e...