[Bug 1082] xauth list invocation has bogus "." argument

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 8 10:26:33 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=1082

           Summary: xauth list invocation has bogus "." argument
           Product: Portable OpenSSH
           Version: 4.2p1
          Platform: ix86
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: mark at mcs.vuw.ac.nz


The invocation of "xauth list <display>" in client_x11_get_proto() in  
clientloop.c has a bogus trailing "." argument which causes xauth to  
unnecessarily try to lookup a display called "." after reporting about the 
display that we actually care about.  
  
Fix is to change the: 
                snprintf(cmd, sizeof(cmd), 
                    "%s %s%s list %s . 2>" _PATH_DEVNULL, 
to: 
                snprintf(cmd, sizeof(cmd), 
                    "%s %s%s list %s 2>" _PATH_DEVNULL, 
 
Sorry I don't have the actual line number or a real patch but visual 
inspection should spot this fairly easily.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list