[Bug 22020] Page Fault in wine_utf8_wcstombs when running ToonTalk

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 14 07:57:44 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22020





--- Comment #21 from Nikolay Sivov <bunglehead at gmail.com>  2010-03-14 07:57:44 ---
(In reply to comment #20)
> Some tests:
> 
> Normal WCHAR : succeeds on XP
> r = IXMLDOMDocument_loadXML( doc, szComplete1, &b );
> 
> Invalid BSTR pointer : crashes on XP
> r = IXMLDOMDocument_loadXML( doc, 0x1, &b );
> 

Good.

> Invalid BSTR (Nikolay, is this what you meant?): fails on XP
> 
> WCHAR newstring[1024];
> lstrcpyW(newstring + 2, szComplete1);
> *(DWORD*)newstring = 0xffff;
> r = IXMLDOMDocument_loadXML( doc, newstring, &b );

Almost, but you should pass newstring+2 to loadXML.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list