[xml] Patch for xinclude bug 633166



Hello.

There are quite a long-standing problem in the code xinclude.c,
described in libxml2 bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=633166

When you xinclude a text file, reading portions (by 4000 bytes) of the
buffer incorrectly handled the situation when the end comes across
portions of the bytes in a multibyte character.

I enclose a patch (also attached to the bugzilla bug report).

Please review the patch.

-- 
Regards, Vyt

Attachment: xinclude-multibyte-text1.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]