diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-11-30 13:14:54 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-11-30 13:14:54 +0000 |
commit | 56b0ddae6c97b0d229fa62bc685d8379452c108b (patch) | |
tree | 0fadbffec487c8ec29a499c9a65614a74aefb91a /contrib | |
parent | 5c47bfad32a5617289109456f5575379f75794f8 (diff) | |
download | FreeBSD-src-56b0ddae6c97b0d229fa62bc685d8379452c108b.zip FreeBSD-src-56b0ddae6c97b0d229fa62bc685d8379452c108b.tar.gz |
Add more environment variables to be filtered through scrub_env().
Synched from normal telnet.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/telnet/telnetd/sys_term.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/telnet/telnetd/sys_term.c b/contrib/telnet/telnetd/sys_term.c index 235e409..5e28390 100644 --- a/contrib/telnet/telnetd/sys_term.c +++ b/contrib/telnet/telnetd/sys_term.c @@ -1856,6 +1856,13 @@ scrub_env() strncmp(*cpp, "_RLD_", 5) && strncmp(*cpp, "LIBPATH=", 8) && #endif + strncmp(*cpp, "LOCALDOMAIN=", 12) && + strncmp(*cpp, "RES_OPTIONS=", 12) && + strncmp(*cpp, "TERMINFO=", 9) && + strncmp(*cpp, "TERMINFO_DIRS=", 14) && + strncmp(*cpp, "TERMPATH=", 9) && + strncmp(*cpp, "TERMCAP=/", 9) && + strncmp(*cpp, "ENV=", 4) && strncmp(*cpp, "IFS=", 4)) *cpp2++ = *cpp; } |