Bug 889

Summary: Bind -from address to port number 0 instead of 177
Product: xorg Reporter: Alexander Gottwald <ago>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: ago
Version: 6.7.0   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
proposed patch none

Description Alexander Gottwald 2004-07-19 12:10:38 UTC
For IPv4 only code the port number is set to xdm_udp_port (177) in
get_addr_by_name instead of the port number provided in the argument list. The
socket is later bound to port 177 and prevents a second instance to use xdmcp
with a -from address. 

This was introduced to the xfree cvs with the xorg IPv6 changes and stayed
undiscovered since then.
Comment 1 Alexander Gottwald 2004-07-19 12:12:09 UTC
Created attachment 491 [details] [review]
proposed patch

I'll commit tomorrow if there are no objections.
Comment 2 Alexander Gottwald 2004-07-20 08:17:22 UTC
/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.102; previous revision: 1.101
/cvs/xorg/xc/programs/Xserver/os/xdmcp.c,v  <--  xdmcp.c
new revision: 1.3; previous revision: 1.2
/cvs/xorg/xc/programs/Xserver/os/xdmcp.c,v  <--  xdmcp.c
new revision: 1.1.4.3.2.5; previous revision: 1.1.4.3.2.4

marked as fixed

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.