25 Feb
2023
25 Feb
'23
4:24 a.m.
When dmSize is zero or greter than size of input buffer, `IsValidDevmodeW()` failed in Windows 10. But current implementation in wine, it will return `true` because there is no check to `dm.dmSize`. -- v9: winspool: Check the alignment of dmSize in IsValidDevmodeW() winspool: Check dmSize in IsValidDevmodeW https://gitlab.winehq.org/wine/wine/-/merge_requests/2262