Re: [Boost-bugs] [Boost C++ Libraries] #1849: Deserialization of std::string overwrites non-copied contents.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1849: Deserialization of std::string overwrites non-copied contents.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-09 19:20:40


#1849: Deserialization of std::string overwrites non-copied contents.
-------------------------------------------------------------+--------------
  Reporter: Siegfried Kettlitz <dev_at_[hidden]> | Owner: ramey
      Type: Bugs | Status: assigned
 Milestone: Boost 1.35.1 | Component: serialization
   Version: Boost 1.35.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------------------------------------+--------------
Comment (by ramey):

 I presume that "to _no_ overwriting" refers to an exception.

 This looks very much like a bug in the standard library implementation
 being used. I'll have look at the serialization string implemention. I
 wouldn't want to have to create a new string on all platforms just to work
 around this. Keep me posted if you find a good (portable?) fix for this.

 Robert Ramey

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1849#comment:4>
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:49:58 UTC