Opened 8 years ago

Last modified 8 years ago

#10305 new Bugs

Abstract namespace endpoint bug in boost::asio

Reported by: roland.waltersson@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.46.0 Severity: Problem
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by anonymous, 8 years ago

Summary: Abstract namespace bug in boost::asioAbstract namespace endpoint bug in boost::asio
Note: See TracTickets for help on using tickets.