Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 13:00:39 +0200 (EET)
From:      Ari Suutari <ari.suutari@syncrontech.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/45397: Telnet dumps core when MAKE_KERBEROS5=yes is enabled
Message-ID:  <200211181100.gAIB0dRY037529@guinness.syncrontech.com>

next in thread | raw e-mail | index | archive | help

>Number:         45397
>Category:       bin
>Synopsis:       Telnet dumps core when MAKE_KERBEROS5=yes is enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 03:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ari Suutari
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Syncron Tech Oy
>Environment:
System: FreeBSD guinness.syncrontech.com 4.7-STABLE FreeBSD 4.7-STABLE #3: Fri Nov 15 15:26:45 EET 2002 ari@pommac.syncrontech.com:/usr/obj/usr/src/sys/GUINNESS i386


>Description:

	When system is build with MAKE_KERBEROS5 and MAKE_KERBEROS4 set
	to yes in /etc/make.conf, the resulting telnet dumps core on systems
	that have kerberos 5 configured.

>How-To-Repeat:

	$ k5init myusername
	myusername@REALM's Password:
	$ telnet host
	Trying x.x.x.x...
	Connected to host.somedomain.com.
	Escape character is '^]'.
	[ Trying mutual KERBEROS5 (host/host.somedomain.com@REALM)... ]
 	zsh: bus error (core dumped) 

>Fix:

	Browsing around the sources reveals that there are multiple
	sources for function called 'net_write'. One is inside telnet
	application itself and has 2 parameters. Another is inside
	/usr/src/crypto/heimdal/lib/roken, which has 3 parameters.
  	Original telnet sources with heimdal distribution seem
	to handle this by renaming the function in telnet from
	net_write to telnet_net_write, which seems to fix the core dump.



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211181100.gAIB0dRY037529>