29 Jul
2008
29 Jul
'08
11:51 a.m.
"Colin Finck" <mail(a)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. -- Alexandre Julliard julliard(a)winehq.org