id summary reporter owner description type status milestone component version severity resolution keywords cc 631 Bug in xml_oarchive_impl::save(const std::string&) alexey-b Robert Ramey "{{{ Bug in file ""boost/archive/impl/xml_oarchive_impl.ipp"" line 82 method: template BOOST_ARCHIVE_DECL(void) xml_oarchive_impl::save(const std::string & s ). Second argument of call: std::copy( xml_escape_translator(BOOST_MAKE_PFTO_WRAPPER(s.data() )), xml_escape_translator(BOOST_MAKE_PFTO_WRAPPER(s.data()+ s.size())), boost::archive::iterators::ostream_iterator(os)) is wrong: in constructor of xml_escape_translator the method template char xml_escape::fill( const char * & bstart, const char * & bend) is called for after-last symbol!!! If this symbol is, e.g., '>' - we have error: iterators _First and _Last in call of std::copy (see above) are always not equal (members 'm_bnext' and 'm_bend' are always non-zero and comparation of these iterators in this case are return always 'false') and we have access violation. }}}" Bugs closed serialization None Accepted