On 03/14/2010 02:08 PM, Nikolay Sivov wrote:
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.
Some tests verifying this would be nice. Also you might as well rename bstr_to_utf8() to represent what it's doing.
Vitaliy.