* telnetd.c (getterminaltype): Null-terminate strings and avoid a
authorDan Winship <danw@mit.edu>
Tue, 27 Jan 1998 23:41:59 +0000 (23:41 +0000)
committerDan Winship <danw@mit.edu>
Tue, 27 Jan 1998 23:41:59 +0000 (23:41 +0000)
commit16d6a1ed0a601af0330d50e8d1eff23db37fc146
treea59610ab0dcd16790dd4e9a49a68debe71fd6d5c
parent0ed288103a9ed43a2ea3abf80442a3a528aacb74
  * telnetd.c (getterminaltype): Null-terminate strings and avoid a
      buffer overrun.

      * ext.h: make terminaltype a char[] instead of a char * for
      telnetd.c change

      * state.c (suboption): redo handling of terminaltype

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10380 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/telnet/telnetd/ChangeLog
src/appl/telnet/telnetd/ext.h
src/appl/telnet/telnetd/state.c
src/appl/telnet/telnetd/sys_term.c
src/appl/telnet/telnetd/telnetd.c