Boost C++ Libraries: Ticket #12495: create_directories crashes when passed empty string as path https://svn.boost.org/trac10/ticket/12495 <pre class="wiki">boost::system::error_code ec; bool created = boost::filesystem::create_directories("", ec); </pre><p> The above code hits an assertion in create_directories and crashes: </p> <pre class="wiki"> Assertion `(parent != p)&amp;&amp;("internal error: p == p.parent_path()")' failed. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12495 Trac 1.4.3 Kevin Pulo <kevin.pulo@…> Tue, 04 Oct 2016 01:06:05 GMT cc set https://svn.boost.org/trac10/ticket/12495#comment:1 https://svn.boost.org/trac10/ticket/12495#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">kevin.pulo@…</span> added </li> </ul> Ticket Charles Olivi <charles.olivi@…> Sat, 19 Nov 2016 09:46:29 GMT <link>https://svn.boost.org/trac10/ticket/12495#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12495#comment:2</guid> <description> <p> Hi, I did a PR for that: <a class="ext-link" href="https://github.com/boostorg/filesystem/pull/36"><span class="icon">​</span>https://github.com/boostorg/filesystem/pull/36</a> Thanks, Charles </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Beman Dawes</dc:creator> <pubDate>Wed, 23 Nov 2016 15:00:45 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/12495#comment:3 https://svn.boost.org/trac10/ticket/12495#comment:3 <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> Fixed in develop. Should be in time for 1.63.0. </p> <p> Thanks! </p> <p> --Beman </p> Ticket