Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4438: Possible infinite loop in boost:: filesystem::copy_file for unix
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-23 09:06:36
#4438: Possible infinite loop in boost:: filesystem::copy_file for unix
-------------------------------------------------+-------------------------
Reporter: Roberto Carlos Toledano Gómez | Owner: bemandawes
<rctg82@â¦> | Status: new
Type: Bugs | Component: filesystem
Milestone: Boost 1.44.0 | Severity: Problem
Version: Boost Development Trunk | Keywords:
Resolution: |
-------------------------------------------------+-------------------------
Comment (by isundill@â¦):
I think your error is in your while condition. After an error, your
sz_read equal -1, and your sz_write value equal the total number of bits
written (minus one).
So the condition (X -1 < -1) may be always true.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4438#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:15 UTC