Bug 889 - Bind -from address to port number 0 instead of 177
Summary: Bind -from address to port number 0 instead of 177
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.7.0
Hardware: x86 (IA32) Windows (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 12:10 UTC by Alexander Gottwald
Modified: 2007-01-23 17:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
proposed patch (616 bytes, patch)
2004-07-19 12:12 UTC, Alexander Gottwald
no flags Details | Splinter Review

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.