Bug 1082 - xauth list invocation has bogus "." argument
Summary: xauth list invocation has bogus "." argument
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 4.2p1
Hardware: ix86 NetBSD
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: 1047
  Show dependency treegraph
 
Reported: 2005-09-08 10:26 AEST by mark
Modified: 2006-10-07 11:42 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mark 2005-09-08 10:26:30 AEST
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.
Comment 1 Darren Tucker 2005-10-03 18:07:14 AEST
This has now been fixed in -HEAD and the 4.2 branch and will be in the next
release.  Thanks for the report.
Comment 2 Darren Tucker 2006-10-07 11:42:02 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.