summaryrefslogtreecommitdiff
path: root/xdmcp.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-30XDM: Add support for clients that sent ipv4 addresses to a dual-stacked hostChristoph Bartoschek1-3/+20
If a client sends an ipv4 address to a dual-stacked xdm that is bound to a ipv6 socket in a forward request, then the packet was silently discarded. Now the address is encapsulated as a ipv4-mapped address and a response is send back. Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-07-20xdm compile failed due to asprintf()Jeff Chua1-1/+1
xdm no longer compiles due to recent commit 56a14b8a1f4d3aa883485b794c818581b8f07cd8 that changed to use asprintf(). There is an additional right-bracket that causes the problem. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Remove #ifdef Lynx blocksAlan Coopersmith1-6/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Use imdent to show cpp macro nesting more clearlyAlan Coopersmith1-132/+132
Also strip trailing whitespace to make git happier. While many lines are changes, "git diff -w" shows no changes other than pure whitespace. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17malloc(strlen()); strcpy() -> strdup()Alan Coopersmith1-3/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17sprintf -> snprintf/asprintf conversionsAlan Coopersmith1-22/+24
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-17Move xdmcp ARRAY initializators to declarationsAlan Coopersmith1-42/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-07-16Remove RCS IdsAlan Coopersmith1-3/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2006-11-13Bug 8995: Copying address into in6_addr instead of in6_addr.sin6_addr in ↵Vickenty Fesunov1-1/+1
forward_respond() Bugzilla #8995 <https://bugs.freedesktop.org/show_bug.cgi?id=8995> Patch #7759 <https://bugs.freedesktop.org/attachment.cgi?id=7759>
2006-07-14Fix many sparse warnings of: Using plain integer as NULL pointerAlan Coopersmith1-18/+17
Also fixes Login.c:1329:5: warning: mixing declarations and code from extra ;
2006-06-26Bugzilla #7332 <https://bugs.freedesktop.org/show_bug.cgi?id=7332> PatchAlan Coopersmith1-16/+35
#6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046> (1) Xdm compiled with IPv6 support failed to accept any chooser connections (even when only using IPv4). (2) There should be a one-to-one correspondence between successful getaddrinfo calls and freeaddrinfo calls. (Peter Breitenlohner)
2006-06-20Initialize manufacturerDisplayID.length to 0 too.Alan Coopersmith1-1/+2
2005-07-05Bugzilla #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> PatchAlan Coopersmith1-5/+8
#2317 <https://bugs.freedesktop.org/attachment.cgi?id=2317> This patch fixes several problems arising if xdm is compiled with IPv6 support, but the (linux) kernel does not support IPv6. (Peter Breitenlohner)
2004-08-07Check to see if array->data is NULL before we dereference it, instead ofrel-0-6-1lg3d-rel-0-7-0lg3d-baseXORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1lg3d-eventlg3d-dev-0-6-latestlg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3d-dev-0-6-1lg3dAlan Coopersmith1-1/+8
after. (Prevents segfault when array->data is initialized to NULL, but array->length is not set to 0.) Always initialize both data & length in ARRAYs.
2004-05-24Muffle compiler warnings.Egbert Eich1-2/+3
fix option name in log message. improve debugging messages.
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-1/+2
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2004-01-29Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-4_3_99_903_specialxf86-012804-2330Egbert Eich1-2/+2
2003-12-04XFree86 4.3.99.901 (RC 1)xf86-4_3_99_901Kaleb Keithley1-5/+20
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley1-78/+350
2003-11-14XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley1-167/+236
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley1-0/+1226