Re: [Boost-bugs] [Boost C++ Libraries] #9122: Reading and writing from/to the windows::stream_handle will cause blind stack writes

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9122: Reading and writing from/to the windows::stream_handle will cause blind stack writes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-17 21:31:23


#9122: Reading and writing from/to the windows::stream_handle will cause blind
stack writes
----------------------------+----------------------------------------------
  Reporter: smueller@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be | Component: asio
  Determined | Severity: Showstopper
   Version: Boost 1.53.0 | Keywords: asio crash stream_handle windows
Resolution: |
----------------------------+----------------------------------------------

Comment (by smueller@…):

 This is a problem for most of the I/O calls used by the Windows
 implementation:
 WriteFile
 ReadFile
 WSASend
 WSARecv
 WSASendTo
 WSARecvFrom

 Interestingly enough, AcceptEx does not have this problem. MSDN explicitly
 states that if AcceptEx returns ERROR_PENDING to indicate asynchronous
 completion, the bytes received parameter is not written to at all.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9122#comment:1>
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