Re: [xml] Patch for xinclude bug 633166



The problem still exists in the new libxml2-2.8.0.

Patch (without changes) correctly applied to current libxml2 git master.

2012/5/27 Vitaly Ostanin <vitaly ostanin gmail com>:
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



-- 
Regards, Vyt



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