Re: [Boost-bugs] [Boost C++ Libraries] #4903: Serialization library in Boost 1.45 is unable to read archive created with Boost 1.39

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4903: Serialization library in Boost 1.45 is unable to read archive created with Boost 1.39
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-30 06:52:38


#4903: Serialization library in Boost 1.45 is unable to read archive created with
Boost 1.39
-------------------------------------------------------+--------------------
  Reporter: Rüdiger Brünner <rbruenner@…> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.45.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------------------------------+--------------------

Comment (by Rüdiger Brünner <rbruenner@…>):

 Please find the attached project TestSerial.7z. It contains two binary
 files, Test139.bin which was created using version 1.39, and Test145.bin
 created using 1.45. It is currently configured to use the 1.45 version.
 When the Test139.bin file is loaded, the preamble is read correctly. The
 version number 5 is determined and the magic values for sizeof(int) etc.
 are loaded correctly. However, the new version reads too much bytes for
 the object header. The first item to load is a string. Its string length
 (32 bit) is composed of the last byte of the actual string length and the
 first three bytes of the string.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4903#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC