Pavlo Penenko created THRIFT-3371:
-------------------------------------

             Summary: Abstract namespace Unix domain sockets broken in C++
                 Key: THRIFT-3371
                 URL: https://issues.apache.org/jira/browse/THRIFT-3371
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
         Environment: Linux
            Reporter: Pavlo Penenko


According to http://man7.org/linux/man-pages/man7/unix.7.html :
          The socket's address in this namespace is given by the
          additional bytes in sun_path that are covered by the specified
          length of the address structure.  (Null bytes in the name have no
          special significance.)

This used to work after the THRIFT-1481 change because the structure was 
0-initialized but was probably broken later in 
3e50a9a1d01950f356242aaab0cbf5fae778b81c

I have an abstract namespace unit test and a fix coming up on GitHub.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to