mirror of
https://github.com/sheumann/telnetd.git
synced 2024-11-29 16:50:58 +00:00
Add more environment variables to be filtered through scrub_env().
Synched from normal telnet. git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@69389 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
parent
e84c612e39
commit
fe910aa69a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user