comdlg32: tests: make sure no ANSI strings are passed to Unicode functions

Mikołaj Zalewski mikolaj at zalewski.pl
Fri Jun 20 16:11:01 CDT 2008


  In these tests the OPENFILENAMEA is later sent to GetOpenFileNameW and 
GetSaveFileNameW. This patch clears the pointers to ANSI string before 
these calls, so that the structure can be treated as a valid 
OPENFILENAMEW and lstrlenW doesn't pass the end of the string.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-comdlg32-tests-make-sure-no-ANSI-strings-are-passe.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080620/0d3ea070/attachment.bin 


More information about the wine-patches mailing list