id summary reporter owner description type status milestone component version severity resolution keywords cc 1481 transform_width may cause buffer overruns anonymous Robert Ramey "When using boost::archive::iterators::transform_width iterator for e.g. base64 encoding, and number of input bits does not fit into an integer number of output bits, the iterator dereferences an element beyond the last available. Consider this piece of code: {{{ typedef std::vector bytes; bytes b; b.push_back(1); typedef base64_from_binary< transform_width< bytes::const_iterator, 6, sizeof(bytes::value_type) * 8, char> > base64; std::stringstream o; std::copy(base64(b.begin()), base64(b.end()), std::ostream_iterator(o)); }}} Provided vector::const_iterator implementation does checks against dereferencing an invalid iterator (e.g. vc8 stl), the above code will assert, because of an attempt to read the second (non-existant) element from the vector" Bugs closed To Be Determined serialization Boost 1.34.0 Problem wontfix