id summary reporter owner description type status milestone component version severity resolution keywords cc 2685 [serialization][variant]Deserializing 'which' should check for values less than 0 "Nevin "":-)"" Liber " Robert Ramey "In : {{{ template void load( Archive & ar, boost::variant& v, unsigned int version ){ int which; typedef BOOST_DEDUCED_TYPENAME boost::variant::types types; ar >> BOOST_SERIALIZATION_NVP(which); if(which >= mpl::size::value) // this might happen if a type was removed from the list of variant types boost::serialization::throw_exception( boost::archive::archive_exception( boost::archive::archive_exception::unsupported_version ) ); //... }}} Since 'which' is an int, there should be a check and an exception thrown if which < 0." Bugs closed Boost 1.38.0 serialization Boost 1.37.0 Problem wontfix