aboutsummaryrefslogtreecommitdiff
path: root/security/krb5-16/files/patch-appl-telnet-telnetd-state.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2007-04-04 21:12:17 +0000
committerCy Schubert <cy@FreeBSD.org>2007-04-04 21:12:17 +0000
commitec9ba12ea871a9a5eb70279c4cb54b9001fa3d10 (patch)
tree4d40877265f783278c3d51b3d27fa49b737e47a4 /security/krb5-16/files/patch-appl-telnet-telnetd-state.c
parent8a0cee579b106734215cacd767da0e17213fbaa4 (diff)
downloadports-ec9ba12ea871a9a5eb70279c4cb54b9001fa3d10.tar.gz
ports-ec9ba12ea871a9a5eb70279c4cb54b9001fa3d10.zip
Notes
Diffstat (limited to 'security/krb5-16/files/patch-appl-telnet-telnetd-state.c')
-rw-r--r--security/krb5-16/files/patch-appl-telnet-telnetd-state.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/krb5-16/files/patch-appl-telnet-telnetd-state.c b/security/krb5-16/files/patch-appl-telnet-telnetd-state.c
new file mode 100644
index 000000000000..9a9b8f2b5d91
--- /dev/null
+++ b/security/krb5-16/files/patch-appl-telnet-telnetd-state.c
@@ -0,0 +1,12 @@
+--- appl/telnet/telnetd/state.c.orig Thu Jun 15 15:42:53 2006
++++ appl/telnet/telnetd/state.c Wed Apr 4 14:02:18 2007
+@@ -1665,7 +1665,8 @@
+ strcmp(varp, "RESOLV_HOST_CONF") && /* linux */
+ strcmp(varp, "NLSPATH") && /* locale stuff */
+ strncmp(varp, "LC_", strlen("LC_")) && /* locale stuff */
+- strcmp(varp, "IFS")) {
++ strcmp(varp, "IFS") &&
++ !strchr(varp, '-')) {
+ return 1;
+ } else {
+ syslog(LOG_INFO, "Rejected the attempt to modify the environment variable \"%s\"", varp);