comdlg32: Fix NULL lpstrFile uses in FILEDLG95_OnOpen
00cpxxx at gmail.com
Thu Jun 14 22:51:34 CDT 2012
Currently wine will crash if during a common dialog operation
lpstrFile == NULL && nMaxFile == 0.
Also it's possible to crash wine using a bogus input by setting
nMaxFile > 0 together with a lpstrFile == NULL.
The second crash is not present in the unicode version of the function
since it does not rely on the struct field lpstrFile as the ascii
Fixes bug #17229.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6277 bytes
Desc: not available
More information about the wine-patches