Boost C++ Libraries: Ticket #6303: possible crash in ssl stream initialization https://svn.boost.org/trac10/ticket/6303 <p> boost::asio::ssl::detail::openssl_stream_service::create may pass a null pointer to SSL_set_mode when SSL_new indicates failure by returning a null pointer. This leads to segmentation faults on the platforms I tested. </p> <p> Similar issues may hold for boost::asio::ssl::detail::openssl_context_service::create, but I could not yet reproduce this. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6303 Trac 1.4.3 chris_kohlhoff Sun, 15 Jul 2012 04:17:09 GMT <link>https://svn.boost.org/trac10/ticket/6303#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6303#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/79519" title="Throw exception if SSL engine initialisation fails. Refs #6303">[79519]</a>) Throw exception if SSL engine initialisation fails. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6303" title="#6303: Bugs: possible crash in ssl stream initialization (closed: fixed)">#6303</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Mon, 16 Jul 2012 06:26:35 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6303#comment:2 https://svn.boost.org/trac10/ticket/6303#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/79549" title="Merge from trunk: * Make strand destruction a no-op, to allow strand ...">[79549]</a>) Merge from trunk: </p> <ul><li>Make strand destruction a no-op, to allow strand objects to be destroyed after their associated io_service has been destroyed. </li></ul><ul><li>Use the <span class="underline">thread keyword extension when compiling with gcc on linux x86. </span></li></ul><ul><li>Avoid calling work_finished() if a completion handler creates more work. </li></ul><ul><li>Eliminate redundant call to call_stack::contains(this) when dispatching a completion handler. </li></ul><ul><li>Add support for some newer versions of glibc which provide the epoll_create1 function but always fail with ENOSYS. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7012" title="#7012: Bugs: do_epoll_create failes with 'epoll: Function not supported&#34;. (closed: fixed)">#7012</a> </li></ul><ul><li>Use SSE2 load and store fences. </li></ul><ul><li>Throw exception if SSL engine initialisation fails. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6303" title="#6303: Bugs: possible crash in ssl stream initialization (closed: fixed)">#6303</a> </li></ul><ul><li>Fix another regression in buffered_write_stream. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6310" title="#6310: Bugs: Buffered write stream broken (closed: fixed)">#6310</a> </li></ul> Ticket