[Xcb] [Bug 55680] New: xcb_get_auth_info fails even if getpeername() succeeds

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 5 14:23:46 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55680

          Priority: medium
            Bug ID: 55680
          Assignee: xcb at lists.freedesktop.org
           Summary: xcb_get_auth_info fails even if getpeername() succeeds
        QA Contact: xcb at lists.freedesktop.org
          Severity: major
    Classification: Unclassified
                OS: OpenBSD
          Reporter: matthieu.herrb at laas.fr
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Library
           Product: XCB

Created attachment 68141
  --> https://bugs.freedesktop.org/attachment.cgi?id=68141&action=edit
proposed patch

The code is trying getpeername() and falling back to getsockname() if
the first fails, but fails to set gotsockname=1 if the getpeername()
call succeeds.

This bug is preventing mit magic cooling  from beeing sent from Unix
domain clients on OpenBSD (and probably other BSDs too).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20121005/efb9c46b/attachment.html>


More information about the Xcb mailing list