kernel32: WideCharToMultiByte: return error on negative dest len (take 2)
dank at kegel.com
Tue Mar 25 21:23:54 CDT 2008
While investigating a crash in gs-auftrag in bug 9039, noticed
WideCharToMultiByte wasn't quite conformant for negative destlen.
Fixed, with tests. Passes for me in Wine and Win XP.
This time I test more than just one negative length,
I also test very long strings, and I removed one stray
#include that snuck in last time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3078 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080325/f1a13518/attachment.bin
More information about the wine-patches