Lin Tian added the comment:
Reactive this issue as to let you know that libexpat has confirmed and fixed
the bug and they are interested in porting the fix to python. Reactive this in
case you want to know what's going on and make a decision accordingly. (Sorry,
I'm not very familiar
New submission from Lin Tian:
utf8_toUtf8(const ENCODING *UNUSED_P(enc),
const char **fromP, const char *fromLim,
char **toP, const char *toLim)
{
char *to;
const char *from;
const char *fromLimInitial = fromLim;
/* Avoid copying partial characters