Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10485: heap-use-after-free using C++11 range loop
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-26 15:28:58
#10485: heap-use-after-free using C++11 range loop
-------------------------------+------------------------
Reporter: iamvfx@⦠| Owner: bemandawes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------
Changes (by bemandawes):
* status: new => assigned
Comment:
Ah! Interesting. The File System TS changes the signature of string() to
return "std::string" rather than "const std::string&", and that will fix
the problem.
To verify that, I first reproduced the error, and then changed the return
type and verified that the problem no longer occurs. (Ubuntu Linux and
clang 3.5)
I'm in process of modifying Boost filesystem to conform to the TS, and am
hoping to have that ready for 1.57.
In the meantime, I'll leave the ticket open until the updated code
actually ships.
Thanks for the report,
--Beman
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10485#comment:2> 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:17 UTC