Boost C++ Libraries: Ticket #7517: indirect_streambuf: invalid state change if write() writes less data then requested https://svn.boost.org/trac10/ticket/7517 <p> 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. </p> <p> As a solution setp() should use pbase() as current buffer begin instead of out().begin(). See patch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7517 Trac 1.4.3 Oleg Liatte <oleg.liatte@…> Wed, 17 Oct 2012 10:07:26 GMT attachment set https://svn.boost.org/trac10/ticket/7517 https://svn.boost.org/trac10/ticket/7517 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">indirect_streambuf.hpp.patch</span> </li> </ul> Ticket