Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3371

Abstract namespace Unix domain sockets broken in C++

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • C++ - Library
    • None
    • Linux

    • Patch Available

    Description

      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.

      Attachments

        Activity

          People

            roger Roger Meier
            ppenenko Pavlo Penenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: