mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
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.