From: Robert Ramey (ramey_at_[hidden])
Date: 2005-02-24 22:15:40
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.
> Hi, I have a class using boost_1.32/serialization to save/restore
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk