Boost logo

Boost :

Subject: [boost] [Serialization] 1.42.0 oserializer.hpp:394 bug?
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2010-05-07 19:21:41


File: serialization/oserializer.hpp, line 394:
            if(NULL == true_type){
                boost::serialization::throw_exception(
                    archive_exception(
                        archive_exception::unregistered_class,
                        true_type->get_debug_info()
                    )
                );
            }

I think, that if true_type is NULL, then true_type->get_debug_info() is UB.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk