ports/131120: xauth failes when using libX11/libxcb
Danny Braniss
danny at cs.huji.ac.il
Thu Jan 29 14:20:04 UTC 2009
>Number: 131120
>Category: ports
>Synopsis: xauth failes when using libX11/libxcb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 29 14:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Danny Braniss
>Release: FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD bagel 7.1-STABLE FreeBSD 7.1-STABLE #1: Mon Jan 5 14:30:14 IST 2009 danny at sunfire:/r+d/obj/sunfire/i386/r+d/7/sys/HUJI i386
>Description:
after compiling newer(?) libX11/libxcb, there is a bug in
src/xcb_auth.c that prevents authorization cookies to
work correctly. See
http://bugs.freedesktop.org/show_bug.cgi?id=14202
>How-To-Repeat:
>Fix:
copy patch to /usr/ports/x11/libxcb/files/patch-src-xcb_auth.c
--- src/xcb_auth.c.orig 2009-01-29 15:59:12.000000000 +0200
+++ src/xcb_auth.c 2009-01-29 15:57:14.045667000 +0200
@@ -251,7 +251,12 @@
info->namelen = memdup(&info->name, authptr->name, authptr->name_length);
if(info->namelen)
+ {
+ if (getsockname(fd, sockname, &socknamelen) == -1)
+ ret = 0;
+ else
ret = compute_auth(info, authptr, sockname);
+ }
if(!ret)
{
free(info->name);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list