[Boost-bugs] [Boost C++ Libraries] #9414: boost::ipc::message_queue does not support 32 process communicate with 64 process

Subject: [Boost-bugs] [Boost C++ Libraries] #9414: boost::ipc::message_queue does not support 32 process communicate with 64 process
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-20 07:49:22


#9414: boost::ipc::message_queue does not support 32 process communicate with 64
process
-------------------------------------+--------------------------
 Reporter: huyuguang <huyuguang@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------
 The win_msg_hdr_t, msg_hdr_t, win_mq_hdr_t, mq_hdr_t use
 typedef typename boost::make_unsigned<difference_type>::type
 size_type;

 The sizeof(size_type) is 32 in 32 bit process and 64 in 64 bit process.
 So when a 32 bit process want to communicate with a 64 bit process, the
 sizeof(msg_hdr_t) is not equal, which would cause process crash.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9414>
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:14 UTC