From: Tom Yu Date: Fri, 5 Dec 1997 02:39:44 +0000 (+0000) Subject: * telnetd.c (doit): Fix up slave buffer length X-Git-Tag: krb5-1.1-beta1~930 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6344b9bc035f8ffd6dffe342ef89939ddabd532e;p=krb5.git * telnetd.c (doit): Fix up slave buffer length git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10312 dc483132-0cff-0310-8789-dd5450dbe970 --- 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) /*