Re: [WideChar conversion improvements - 1/5] Add a new check for 'dstlen < 0' to WideCharToMultiByte
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
29 Jul
29 Jul
12:49 p.m.
New subject: [WideChar conversion improvements - 1/5] Add a new check for'dstlen < 0' to WideCharToMultiByte
Alexandre Julliard wrote:
There are places in Wine that use a negative dstlen, you have to fix them first.
Done here now: http://www.winehq.org/pipermail/wine-patches/2008-July/058743.html Best regards, Colin
6344
Age (days ago)
6344
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Julliard -
Colin Finck