diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-16 23:32:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-16 23:32:45 +0000 |
commit | 6075fdfe92b66298065d49b68d99c161f0448376 (patch) | |
tree | ca691c4759a2e031c55dbf9ff6f54a7063f61f04 /libexec/telnetd/state.c | |
parent | 4faae378a5d878ca9af2eb0bc1716f5f95626f96 (diff) |
ENV is unsafe to pass; from dholland@hcs.harvard.edu
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r-- | libexec/telnetd/state.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 1d14d5efe56..b1c9c2b7291 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -1,4 +1,4 @@ -/* $OpenBSD: state.c,v 1.3 1996/03/28 23:21:59 niklas Exp $ */ +/* $OpenBSD: state.c,v 1.4 1996/08/16 23:32:44 deraadt Exp $ */ /* $NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $ */ /* @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)state.c 8.5 (Berkeley) 5/30/95"; static char rcsid[] = "$NetBSD: state.c,v 1.9 1996/02/28 20:38:19 thorpej Exp $"; #else -static char rcsid[] = "$OpenBSD: state.c,v 1.3 1996/03/28 23:21:59 niklas Exp $"; +static char rcsid[] = "$OpenBSD: state.c,v 1.4 1996/08/16 23:32:44 deraadt Exp $"; #endif #endif /* not lint */ @@ -1065,6 +1065,7 @@ envvarok(varp) return (strncmp(varp, "LD_", strlen("LD_")) && strncmp(varp, "_RLD_", strlen("_RLD_")) && strcmp(varp, "LIBPATH") && + strcmp(varp, "ENV") && strcmp(varp, "IFS")); } |