id summary reporter owner description type status milestone component version severity resolution keywords cc 5593 boost::interprocess::basic_string::c_str() result not null-terminated when used with shared memory allocator Anil Gangolli Ion Gaztañaga "I'm seeing this issue using boost::interprocess:basic_string (aliases boost::container::string) allocated using boost::interprocess::allocator based on a boost::interprocess::managed_map_file::segment_manager. The c_str() function is not returning a null-terminated string in general. This problem does not seem to occur using boost::container::string (using the standard allocator). The attached test program illustrates the problem. I compiled the test under gcc 4.5 using flags -DBOOST_DATE_TIME_NO_LIB " Bugs closed To Be Determined interprocess Boost 1.46.1 Problem invalid