Boost C++ Libraries: Ticket #11230: coroutine_error returns dangling exception message pointer https://svn.boost.org/trac10/ticket/11230 <p> The coroutine_error class implements the what function in a way that will cause undefined behavior if the returned pointer is ever used: the object into which the pointer points is a temporary std::string that will be destroyed before the what function returns. </p> <p> There's a pending <a class="missing wiki">GitHub</a> pull request with the fix in boostorg/coroutine and I've attached a diff file here as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11230 Trac 1.4.3 nikb@… Thu, 23 Apr 2015 18:22:47 GMT attachment set https://svn.boost.org/trac10/ticket/11230 https://svn.boost.org/trac10/ticket/11230 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">coro_exception.diff</span> </li> </ul> Ticket olli Sat, 25 Apr 2015 14:07:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11230#comment:1 https://svn.boost.org/trac10/ticket/11230#comment:1 <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> thx, patch is merged at branch develop sorry for the delay - I was too busy (preparation for C++ meeting at Lenexa) </p> Ticket anonymous Sun, 26 Apr 2015 06:39:21 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:39:28 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:39:34 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:39:51 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:39:51 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:39:52 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:39:55 GMT status, component, type changed; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> </ul> Ticket anonymous Sun, 26 Apr 2015 06:40:55 GMT status, severity, type, component, version, milestone changed; keywords set; resolution deleted https://svn.boost.org/trac10/ticket/11230#comment:2 https://svn.boost.org/trac10/ticket/11230#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Regression</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Tasks</span> </li> <li><strong>component</strong> <span class="trac-field-old">coroutine</span> → <span class="trac-field-new">inspection script</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost.Build-M3</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> <li><strong>keywords</strong> cloudd &lt;b420fbfbcd3536159bc10e33b4e47249 added </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> Ticket olli Sun, 26 Apr 2015 07:32:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11230#comment:3 https://svn.boost.org/trac10/ticket/11230#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> no idea why it was reopened (without a comment) </p> Ticket