[Xcb] [Bug 28526] sockname leaked in _xcb_get_auth_info

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 23 04:54:47 PDT 2010


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

--- Comment #3 from jp.sittingduck at gmail.com 2010-09-23 04:54:46 PDT ---
This is a problem in _xcb_get_auth_info: if the first get_peer_sock_name
succeeds (returns non-NULL), gotsockname is not set to 1, so sockname is
re-assigned later from another call to get_peer_sock_name.

Patch attached.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list