Re: [Boost-bugs] [Boost C++ Libraries] #5900: Access violation in boost filesystem 3 directory iterator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5900: Access violation in boost filesystem 3 directory iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-06 01:59:52


#5900: Access violation in boost filesystem 3 directory iterator
------------------------------------------------------+---------------------
  Reporter: Andreas Eckleder <a.eckleder@…> | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------

Comment (by anonymous):

 We ran into the same problem on OSX, when a directory was deleted while we
 were in the middle of iterating over it. Note that if you don't want to or
 can't change the source to Boost as per the patch above, simply passing in
 an error_code to directory_iterator::increment() will circumvent the bug,
 since the bad dereference is buried in the exception creation.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5900#comment:1>
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:08 UTC