msxml3: Use correct string length in saxreader_get_cdata_chunk

Nikolay Sivov bunglehead at gmail.com
Fri Oct 6 00:53:15 CDT 2017


On 05.10.2017 15:59, Piotr Caban wrote:
> @@ -1972,6 +1972,7 @@ static BSTR saxreader_get_cdata_chunk(const xmlChar *str, int len)
>      BSTR bstr = bstr_from_xmlCharN(str, len), ret;
>      WCHAR *ptr;
>  
> +    len = SysStringLen(bstr);

Hi.

Just making sure I understand this correctly, the issue is that we're
using length counted in xmlChars as WCHAR length?



More information about the wine-devel mailing list