Boost logo

Boost :

Subject: [boost] [Bug] [interprocess] Data loss in boost::interprocess::detail::truncate_file
From: Dmytro Ovdiienko (dmitriy.ovdienko_at_[hidden])
Date: 2011-07-11 12:49:40


Hi,

boost::interprocess::detail::*truncate_file* accepts *size_t* instead of *
offset_t*. On x32 platform it causes data loss in the:
- file_wrapper::truncate
- shared_memory_object::truncate

Regards.

Dima

-- 
Dmytro Ovdiienko
e-mail: dmitriy.ovdienko_at_[hidden]
skype: dmitriy.ovdienko_at_[hidden]
mobile: +38050-1909731

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