Subject: [Boost-bugs] [Boost C++ Libraries] #4889: path locale-related functions are not thread-safe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-24 08:24:11
#4889: path locale-related functions are not thread-safe
------------------------------+---------------------------------------------
Reporter: andysem | Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost 1.45.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
Boost.Filesystem v.3 keeps the locale used by path objects in a function-
local static object (see path_locale function in path.cpp). If multiple
threads use path methods that involve locale (such as string(), wstring(),
converting constructors or assignment from strings), the code may use a
not yet constructed locale object or leak the locale. The locale object
must be protected with call_once or similar technique.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4889> 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:04 UTC