From owner-freebsd-x11@FreeBSD.ORG Wed Aug 11 17:42:52 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D96F616A4CE for ; Wed, 11 Aug 2004 17:42:52 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FA3643D31 for ; Wed, 11 Aug 2004 17:42:52 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mailhost.stack.nl (Postfix) with ESMTP id 40DD91F14A; Wed, 11 Aug 2004 19:42:51 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 333) id 23C712286E; Wed, 11 Aug 2004 19:42:51 +0200 (CEST) Date: Wed, 11 Aug 2004 19:42:51 +0200 From: Marc Olzheim To: x11@freebsd.org Message-ID: <20040811174251.GA64108@stack.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD snail.stack.nl 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.6i cc: unix@stack.nl Subject: xdm crash on login from IPv6 Xserver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 17:42:53 -0000 xdm crashes in auth.c:1218, because the result of ConvertAddr() of -1 is not checked, while leaving addr at NULL... Adding a if (0 < family) {} block around it, prevents it from crashing, but still does not allow for IPv6 xdmcp logins. Connecting to a running Xserver (port 6000) over IPv6 does work though. It's not possible to connect to an IPv6 xdm with X -query, because it cannot resolve / parse / whatever the hostname... We made the IPv6 xdmcp connection with a sparc running Solaris 10 beta. This is with sysctl net.inet6.ip6.v6only = 1 Zlo