Opened 8 years ago

Closed 8 years ago

#3829 closed Bugs (fixed)

windows_shared_memory invalid move constructor

Reported by: spolitov@… Owned by: Ion Gaztañaga
Milestone: Boost 1.45.0 Component: interprocess
Version: Boost 1.41.0 Severity: Problem
Keywords: Cc:


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.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Ion Gaztañaga

Milestone: Boost 1.42.0Boost-1.45.0
Resolution: fixed
Status: newclosed

Fixed for Boost 1.45 in release branch

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.