[Boost-bugs] [Boost C++ Libraries] #3829: windows_shared_memory invalid move constructor

Subject: [Boost-bugs] [Boost C++ Libraries] #3829: windows_shared_memory invalid move constructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-08 07:30:05


#3829: windows_shared_memory invalid move constructor
--------------------------------+-------------------------------------------
 Reporter: spolitov@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: interprocess
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 Move constructor of windows_shared_memory has the following
 implementation:
 windows_shared_memory(BOOST_INTERPROCESS_RV_REF(windows_shared_memory)
 moved)
    { this->swap(moved); }

 Since m_handle member is not initialized, moved.m_handle becomes invalid
 after swap.

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