comdlg32: Fix buffer overflow when current_filter is longer than MAX_PATH.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57293
Without this change, the tests segfault due to a buffer overflow.
Note: This bug was surfaced but not caused by b5cbb556. Before b5cbb556, the savedlg test segfaults while the opendlg test does not. After it, both segfault.
Merge request reports
Activity
added 1 commit
- 973db5d8 - comdlg32/tests: Add tests for itemdlg filters longer than MAX_PATH.
added 30 commits
-
973db5d8...3473bec8 - 28 commits from branch
wine:master
- 885cb333 - comdlg32: Fix buffer overflow when current_filter is longer than MAX_PATH.
- 7ce580d1 - comdlg32/tests: Add tests for itemdlg filters longer than MAX_PATH.
-
973db5d8...3473bec8 - 28 commits from branch
Please register or sign in to reply