Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2005-09-02 07:54:15


The recent updates to Boost.Serialization code in RC_1_33_0
can provoke a crash at run-time, as shown for instance
in http://tinyurl.com/dwu78 (there are other, compile-time problems
that I'm not addressing in tihs post.)

The problem is located in reset_object_address. The attached
patch to libs\serialization\src\basic_iarchive.cpp fixes the
problem in my local tests, but as I lack the knowledge to
be sure, I'd rather not commit it myself and let it be confirmed
to be OK.

HTH

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

201a202
> moveable_objects_recent(0),
259a261,265
> if(i >= moveable_objects_end)
> return;
> if(old_address != object_id_vector[i].address)
> // skip to any lower level ones
> ++i;


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