id summary reporter owner description type status milestone component version severity resolution keywords cc 7517 indirect_streambuf: invalid state change if write() writes less data then requested Oleg Liatte Jonathan Turkanis "Currently indirect_streambuf::sync_impl() calls setp() to update pbase() without any regard to current pbase() value. With unreliable write() it will lead to buffer consistency loss and data duplication if write() doesn't satisfy request fully two or more times in a row. As a solution setp() should use pbase() as current buffer begin instead of out().begin(). See patch." Bugs new To Be Determined iostreams Boost 1.49.0 Problem write fail duplication buffer consistency