[Boost-bugs] [Boost C++ Libraries] #10305: Abstract namespace bug in boost::asio

Subject: [Boost-bugs] [Boost C++ Libraries] #10305: Abstract namespace bug in boost::asio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-02 20:38:16


#10305: Abstract namespace bug in boost::asio
---------------------------------+----------------------------
 Reporter: roland.waltersson@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: |
---------------------------------+----------------------------
 strlen calculated erraounusly, as abstract namespace paths begin with 0.

 see boost/asio/local/detail/impl/endpoint.ipp:44

 init(path, strlen(path));

 Could be replaced with:

 init(path, strlen(path + 1) + 1);

 Affects more similar lines in file.

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