[2536] in Kerberos-V5-bugs
telnet/256: telnet doesn't work for OSF/1
daemon@ATHENA.MIT.EDU (tytso@MIT.EDU)
Tue Nov 26 20:47:13 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: hartmans@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, tytso@MIT.EDU
Date: Tue, 26 Nov 1996 20:46:23 -0500
From: tytso@MIT.EDU
Reply-To: tytso@MIT.EDU
To: krb5-bugs@MIT.EDU
>Number: 256
>Category: telnet
>Synopsis: telnet doesn't work for OSF/1
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: hartmans
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue Nov 26 20:47:01 EST 1996
>Last-Modified:
>Originator: Theodore Y. Ts'o
>Organization:
mit
>Release: 1.0-development
>Environment:
DEC/ALPHA, OSF/1
>Description:
Telnet to a hostname causes an attempt to opena connection to
255.255.255.255, which fails. This makes telnet completely useless.
>How-To-Repeat:
Try to telnet to a host
>Fix:
The bug was introduced by a mycroft-requested change for NetBSD/Alpha,
which broke things under Digital Unix. The problem is that inet_addr is
declared to be an unsigned long for NetBSD, and as an unsigned int for OSF/1.
To make things worse, telnet/commands.c is doing a lot of really dodgy things
like declaring inet_addr() in its .c file, instead of relying on the
system header files.
Tom is working on a change, that will hopefully be a bit more
platform indepdent. This change will have to be tested on a wide
number of platforms.
>Audit-Trail:
>Unformatted: