Subject: [Boost-bugs] [Boost C++ Libraries] #10233: create_directories causes invalid read
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-23 13:48:27
#10233: create_directories causes invalid read
-------------------------------------+------------------------
Reporter: Itay C <itay.chamiel@â¦> | Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.50.0 | Severity: Problem
Keywords: create_directories |
-------------------------------------+------------------------
The following code, when run under Valgrind, will report two instances of
invalid reads during program close (after main).
Tested on Ubuntu Linux x64 12.04 (kernel 3.8.0) with gcc 4.6.3.
{{{
#include <stdlib.h>
#include <boost/filesystem.hpp>
int main()
{
system("rm -rf /tmp/test"); // make sure directory doesn't already
exist
boost::filesystem::create_directories("/tmp/test");
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10233> 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:16 UTC