Opened 5 years ago

Closed 5 years ago

#13005 closed Bugs (duplicate)

serialization optional doesn't initialize stack_construct causes crashes

Reported by: rob.vandennieuwenhof@… Owned by: Robert Ramey
Milestone: Boost 1.65.0 Component: serialization
Version: Boost 1.64.0 Severity: Regression
Keywords: Cc:

Description

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

Change History (1)

comment:1 by Robert Ramey, 5 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.