[Boost-bugs] [Boost C++ Libraries] #12495: create_directories crashes when passed empty string as path

Subject: [Boost-bugs] [Boost C++ Libraries] #12495: create_directories crashes when passed empty string as path
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-30 16:31:38


#12495: create_directories crashes when passed empty string as path
-------------------------------------------------+------------------------
 Reporter: Samantha Ritter <samantha.ritter@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
-------------------------------------------------+------------------------
 {{{
 boost::system::error_code ec;
 bool created = boost::filesystem::create_directories("", ec);
 }}}


 The above code hits an assertion in create_directories and crashes:

 {{{

 Assertion `(parent != p)&&("internal error: p == p.parent_path()")'
 failed.
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12495>
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-02-16 18:50:20 UTC