Commit df750627 authored by Daniel Veillard's avatar Daniel Veillard

fixing bug #340398 xmlCharEncOutFunc writing to input buffer Daniel

* encoding.c: fixing bug #340398 xmlCharEncOutFunc writing to
  input buffer
Daniel
parent b2f8f1de
Tue May 2 14:24:40 CEST 2006 Daniel Veillard <daniel@veillard.com>
* encoding.c: fixing bug #340398 xmlCharEncOutFunc writing to
input buffer
Fri Apr 28 18:29:22 CEST 2006 Daniel Veillard <daniel@veillard.com>
* NEWS configure.in doc//*: preparing 2.6.24 release, fixed Python
......
......@@ -2083,7 +2083,8 @@ retry:
xmlEncodingErr(XML_I18N_CONV_FAILED,
"output conversion failed due to conv error, bytes %s\n",
buf);
in->content[0] = ' ';
if (in->alloc != XML_BUFFER_ALLOC_IMMUTABLE)
in->content[0] = ' ';
}
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment