Boost logo

Boost Users :

From: Bill Lear (rael_at_[hidden])
Date: 2005-02-14 15:45:42


I ran some of my code through valgrind and it detected the use of an
uninitialized value in the serialization library, as reported below:

==21969== Use of uninitialised value of size 8
==21969== at 0x80A9CE3: void boost::archive::xml_oarchive_impl<boost::archive::xml_oarchive>::save<double>(double const&) (xml_oarchive.hpp:53)
==21969== by 0x80A9CD6: void boost::archive::save_access::save_primitive<boost::archive::xml_oarchive, double>(boost::archive::xml_oarchive&, double const&) (oserializer.hpp:97)
==21969== by 0x80A9CB1: boost::archive::detail::save_non_pointer_type<boost::archive::xml_oarchive, double>::save_primitive::invokex(boost::archive::xml_oarchive&, double const&) (oserializer.hpp:217)
==21969== by 0x80A9C97: boost::archive::detail::save_non_pointer_type<boost::archive::xml_oarchive, double>::invoke(boost::archive::xml_oarchive&, double const&) (oserializer.hpp:309)

I took a peek at the code, but I can't see anything obviously wrong, so
the report may be spurious.

Bill


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net