Ticket #7745: text-iarchive-crash.patch
File text-iarchive-crash.patch, 678 bytes (added by , 10 years ago) |
---|
-
boost/archive/impl/text_iarchive_impl.ipp
31 31 BOOST_ARCHIVE_DECL(void) 32 32 text_iarchive_impl<Archive>::load(char *s) 33 33 { 34 std::size_t size ;34 std::size_t size = 0; 35 35 * this->This() >> size; 36 36 // skip separating space 37 37 is.get(); … … 44 44 BOOST_ARCHIVE_DECL(void) 45 45 text_iarchive_impl<Archive>::load(std::string &s) 46 46 { 47 std::size_t size ;47 std::size_t size = 0; 48 48 * this->This() >> size; 49 49 // skip separating space 50 50 is.get();