[Boost-bugs] [Boost C++ Libraries] #4567: exists method core-dumps

Subject: [Boost-bugs] [Boost C++ Libraries] #4567: exists method core-dumps
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-18 21:03:18

#4567: exists method core-dumps
 Reporter: anonymous | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
 string dir;
 exists( dir ); --> This coredumps in the following scenario on Linux

 Say, an existing dir ("/home/user1" ). Now, this has a dir (say, "dir1" )
 mounted from windows (thru Samba). Just for clarification - the actual dir
 exists on Windows that is mounted on Linux.

 If we write

 dir = "/home/user1\\dir1";
 exists( dir ); --> crashes

 However, if we have
 dir = "/home\\user1";
 exists( dir ); DOES not cause a crash

Ticket URL: <https://svn.boost.org/trac/boost/ticket/4567>
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:04 UTC