diff options
Diffstat (limited to 'indra/llcommon/llsdserialize_xml.cpp')
-rw-r--r-- | indra/llcommon/llsdserialize_xml.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/llcommon/llsdserialize_xml.cpp b/indra/llcommon/llsdserialize_xml.cpp index 2824d0f73c..c21b8f19a4 100644 --- a/indra/llcommon/llsdserialize_xml.cpp +++ b/indra/llcommon/llsdserialize_xml.cpp @@ -368,11 +368,12 @@ LLSD LLSDXMLParser::Impl::parse(std::istream& input) } } - // FIXME: This code is buggy - if the stream was empty or not good, there - // is not buffer to parse, both the call to XML_ParseBuffer and the buffer - // manipulations are illegal - // futhermore, it isn't clear that the expat buffer semantics are preserved - + // *FIX.: This code is buggy - if the stream was empty or not + // good, there is not buffer to parse, both the call to + // XML_ParseBuffer and the buffer manipulations are illegal + // futhermore, it isn't clear that the expat buffer semantics are + // preserved + status = XML_ParseBuffer(mParser, 0, true); if (status == XML_STATUS_ERROR && !mGracefullStop) { |