kernel32: WideCharToMultiByte: test negative dest len (take 3)
dank at kegel.com
Wed Mar 26 08:50:14 CDT 2008
While investigating a crash in gs-auftrag in bug 9039, noticed
WideCharToMultiByte wasn't quite conformant for negative destlen.
As Alexandre pointed out, and as I would have seen if I had
bothered to run the wine test suite, actually fixing this bug would
require fixing a bunch of callers (e.g. by changing -1 to INT_MAX).
So for now here's the test alone without the fix, properly todo_wine'd.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2776 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080326/651e442d/attachment.bin
More information about the wine-patches