mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-19 14:50:07 +03:00
630140 fix iso995x encoding error
https://bugzilla.gnome.org/show_bug.cgi?id=630140 Fix the bug, which happen when using the embedded converters and not iconv
This commit is contained in:
parent
e306260f54
commit
083caf5ec8
@ -2039,7 +2039,11 @@ retry:
|
||||
xmlBufferShrink(in, toconv);
|
||||
out->use += written;
|
||||
writtentot += written;
|
||||
}
|
||||
/* multichar cut at end of buffer can generate that problem */
|
||||
if (ret == -2) {
|
||||
ret = -3;
|
||||
}
|
||||
}
|
||||
out->content[out->use] = 0;
|
||||
}
|
||||
#ifdef LIBXML_ICONV_ENABLED
|
||||
|
Loading…
x
Reference in New Issue
Block a user