[1059] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: Bug in telnet under Solaris 2.4

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Fri Feb 3 06:25:18 1995

Date: Fri, 3 Feb 1995 06:25:11 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: Robert Zeh <razeh@symcom.math.uiuc.edu>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [1056]

   Date: Fri, 27 Jan 1995 15:08:22 -0600
   From: Robert Zeh <razeh@symcom.math.uiuc.edu>

   You can get ktelent to core dump under Solaris 2.4 by doing the
   following:

   Using gdb, it becomes apparent that someone is trying to print the
   null pointer, a no-no under Solaris.  If you follow things through,
   the offending code is in src/appl/telnet/telnet/commands.c.

Thanks for reporting this.  This bug is already known, and fixed in our
sources.  It's a generic telnet bug that's in the BSD sources as well.
The next release will come shiped with the simple expedient of adding
the following code encrypt_cmd:  

    if (argc < 2) {
        fprintf(stderr,
            "Need an argument to 'encrypt' command.  'encrypt ?' for help.\n");
        return 0;
    }

(A similar fix is needed for the auth command as well.)

							- Ted

home help back first fref pref prev next nref lref last post