[Boost-bugs] [Boost C++ Libraries] #13147: Crash in boost::asio::basic_streambuf

Subject: [Boost-bugs] [Boost C++ Libraries] #13147: Crash in boost::asio::basic_streambuf
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-04 06:50:09


#13147: Crash in boost::asio::basic_streambuf
------------------------------+----------------------------
 Reporter: luliu@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------------
 Hi All,

 Our program crashed in boost::asio::streambuf while streambuf was
 reserving more spaces.

 The related codes using boost::asio::streambuf is like this:

 {{{
 boost::asio::streambuf send_buffer;

 std::ostream send_stream(&send_buffer);
 send_stream << "MESSAGE...";
 send_stream << flush();

 ...
 boost::asio::async_write(ssl_stream, send_buffer, ...);

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13147>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-08-04 06:53:20 UTC