[Boost-bugs] [Boost C++ Libraries] #5638: greg_month::get_month_map_ptr is not thread safe

Subject: [Boost-bugs] [Boost C++ Libraries] #5638: greg_month::get_month_map_ptr is not thread safe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-24 08:06:04


#5638: greg_month::get_month_map_ptr is not thread safe
-----------------------------------------+----------------------------------
 Reporter: fatbone <fatbone@…> | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.46.1 | Severity: Showstopper
 Keywords: |
-----------------------------------------+----------------------------------
 We recently have found a crash issue related to this function in
 greg_month.cpp.

 the block from line 39 is not thread safe. If multiple threads call this
 function simultaneously, it will lead to a crash. As one thread is
 populating the map while the other thread may start using the map, or even
 worse two threads populate the map at the same time.

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