[Boost-bugs] [Boost C++ Libraries] #13005: serialization optional doesn't initialize stack_construct causes crashes

Subject: [Boost-bugs] [Boost C++ Libraries] #13005: serialization optional doesn't initialize stack_construct causes crashes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-03 15:45:38


#13005: serialization optional doesn't initialize stack_construct causes crashes
------------------------------------+---------------------------
 Reporter: rob.vandennieuwenhof@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.65.0 | Component: serialization
  Version: Boost 1.64.0 | Severity: Regression
 Keywords: |
------------------------------------+---------------------------
 Boost\serialization\optional.hpp line 94

 detail::stack_allocate<T> tp;

 after some analysis we found that it should have been:
 detail::stack_construct<Archive, T> tp(ar, item_version);

 which then solves the crash

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/13005>
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-05-03 15:50:34 UTC