From 6344b9bc035f8ffd6dffe342ef89939ddabd532e Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 5 Dec 1997 02:39:44 +0000 Subject: [PATCH] * telnetd.c (doit): Fix up slave buffer length git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10312 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnetd/ChangeLog | 4 ++++ src/appl/telnet/telnetd/telnetd.c | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index 6b7ef9fb2..3c95701fe 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 4 21:32:37 1997 Tom Yu + + * telnetd.c (doit): Fix up slave buffer length. + Thu Oct 23 13:59:32 1997 Theodore Y. Ts'o * state.c (envvarok): Prohibit the passing of TERMCAP, TERMPATH, diff --git a/src/appl/telnet/telnetd/telnetd.c b/src/appl/telnet/telnetd/telnetd.c index 0c6171297..774c60ec9 100644 --- a/src/appl/telnet/telnetd/telnetd.c +++ b/src/appl/telnet/telnetd/telnetd.c @@ -885,11 +885,9 @@ long retval; pty_init(); - if ((retval = pty_getpty(&pty, line, 20)) != 0 ) - { + if ((retval = pty_getpty(&pty, line, 17)) != 0) { fatal(net, error_message(retval)); - } - + } #if defined(_SC_CRAY_SECURE_SYS) /* -- 2.26.2