
As far as I know, no one has tested that. I would expect that this behavior would vary depending on the type of archive. For example, xml archives have more rudundancy and so would less likely to confuse corrupt data with real data. Binary files are designed to be small and fast so probably nothing is dectected untl its way too late. I don't have a lot to say about this. Robert Ramey junyi.sun@supportlinux.net wrote:
Hi, I have a class using boost_1.32/serialization to save/restore object data and it's working fine for load & save its own archive. I tried to make it load an archive saved by an unrelated class in order to verify exception handling of reading wrong/ corrupt archive. It dumps core at basic_iarchive_impl::load_pointer. Is it a known issue or anyone has similar experience ? Thanks.