Re: [Boost-bugs] [Boost C++ Libraries] #10450: Undefined behavior in boost::filesystem::detail::directory_iterator_construct

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10450: Undefined behavior in boost::filesystem::detail::directory_iterator_construct
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-27 15:15:41


#10450: Undefined behavior in
boost::filesystem::detail::directory_iterator_construct
-------------------------------+------------------------
  Reporter: egrindha@… | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by luc.hermitte@…):

 I see the problem hasn't been fixed in boost 1.63.0 yet.

 As a null value for `ec` in `directory_iterator_increment()` is legit,
 can't we simply change
 `directory_iterator::increment(system::error_code&)` into a function that
 expects a pointer?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10450#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-27 15:20:38 UTC