msxml3: Treat input BSTR as general WCHAR string for ::loadXML() (try3)

Nikolay Sivov nsivov at codeweavers.com
Sun Mar 14 18:17:53 CDT 2010


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

Some applications don't bother to pass properly allocated BSTR as a ::loadXML() parameter,
so we crash on invalid length taken from DWORD before passed pointer.

try3: lstrcpyW replaced by memcpy
try2: test added.



More information about the wine-patches mailing list