"Colin Finck" mail@colinfinck.de writes:
@@ -1893,7 +1893,7 @@ INT WINAPI WideCharToMultiByte( UINT page, DWORD flags, LPCWSTR src, INT srclen, const union cptable *table; int ret, used_tmp;
- if (!src || (!dst && dstlen))
- if (!src || (!dst && dstlen) || dstlen < 0)
There are places in Wine that use a negative dstlen, you have to fix them first.