Boost C++ Libraries: Ticket #6236: code_converter does not allocate second buffer https://svn.boost.org/trac10/ticket/6236 <p> The code_converter will not allocate the second buffer for bidirectional devices. </p> <p> The open method checks </p> <blockquote> <p> if (can_write::value &amp;&amp; !is_double::value) </p> </blockquote> <p> but it should be </p> <blockquote> <p> if (can_write::value &amp;&amp; is_double::value) </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6236 Trac 1.4.3 Steve Clementi <sclementi2@…> Wed, 07 Dec 2011 23:37:48 GMT attachment set https://svn.boost.org/trac10/ticket/6236 https://svn.boost.org/trac10/ticket/6236 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boostTests.cpp</span> </li> </ul> <p> test code </p> Ticket Steve Clementi <sclementi2@…> Wed, 07 Dec 2011 23:40:04 GMT <link>https://svn.boost.org/trac10/ticket/6236#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6236#comment:1</guid> <description> <p> The test code blows up in the utf8_codecvt_facet do_out method when trying to access the unallocated 'to' buffer. </p> </description> <category>Ticket</category> </item> <item> <author>Steve Clementi <sclementi2@…></author> <pubDate>Thu, 08 Dec 2011 00:47:39 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/6236 https://svn.boost.org/trac10/ticket/6236 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">code_converter.patch</span> </li> </ul> <p> patch correcting this bug </p> Ticket