Re: [Boost-bugs] [Boost C++ Libraries] #5593: boost::interprocess::basic_string::c_str() result not null-terminated when used with shared memory allocator

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5593: boost::interprocess::basic_string::c_str() result not null-terminated when used with shared memory allocator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-06 14:10:10


#5593: boost::interprocess::basic_string::c_str() result not null-terminated when
used with shared memory allocator
--------------------------------------------------+-------------------------
  Reporter: Anil Gangolli <anil@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------+-------------------------

Comment (by anonymous):

 I just tested on Linux (Ubuntu 10.04.2) with g++ 4.5.3 and did not see the
 problem there.

 So I am only able to reproduce the problem on Mac OS. Version details in
 my previous comment.

 The underlying cause may be a bug in one of the MacOS/MacPorts libraries
 or it may be due to an incorrect expectation in the Boost code that is not
 met on Mac OS.

 The reason that I suspect a Boost Interprocess issue is that even on the
 Mac platform, one sees no problem using the standard allocator, only the
 shared memory one.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5593#comment:2>
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:06 UTC