[Boost-bugs] [Boost C++ Libraries] #4888: codecvt_error_category is not thread-safe

Subject: [Boost-bugs] [Boost C++ Libraries] #4888: codecvt_error_category is not thread-safe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-24 08:13:06


#4888: codecvt_error_category is 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: |
------------------------------+---------------------------------------------
 The boost::filesystem3::codecvt_error_category uses unprotected function-
 local static variable of type codecvt_error_cat, which is not POD. One
 thread may half-initialize this value when the other thread will acquire
 and use a reference to the not yet constructed error category. The object
 must be protected with call_once or a similar technique.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4888>
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