kernel32: WideCharToMultiByte: return error on negative dest len (take 2)

Michael Stefaniuc mstefani at redhat.com
Wed Mar 26 06:04:41 CDT 2008


Alexandre Julliard wrote:
> "Dan Kegel" <dank at kegel.com> writes:
> 
>> 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 would require reviewing all uses of WideCharToMultiByte in Wine,
> many places get this wrong. Unless you have an app that requires this
> fix I'd suggest to leave the test as todo_wine for now.
Would that be a good janitorial work to be done before Wine 1.0? I feel
like I'm getting tired of translating ...

bye
	michael



More information about the wine-devel mailing list