From: Todd C. Miller Date: Sat, 17 Aug 1996 17:22:13 +0000 (+0000) Subject: remove $ENV and $BASH_ENV (dangerous in ksh, posix sh, and bash) X-Git-Tag: SUDO_1_5_0~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6da9b067a1d5303c5b9d437a52c60ff2e176026e;p=sudo remove $ENV and $BASH_ENV (dangerous in ksh, posix sh, and bash) --- diff --git a/sudo.c b/sudo.c index 9b19507e1..efc72fcac 100644 --- a/sudo.c +++ b/sudo.c @@ -169,6 +169,8 @@ struct env_table badenv_table[] = { #ifdef HAVE_KERB4 { "KRB_CONF", 8 }, #endif + { "ENV=", 4 }, + { "BASH_ENV=", 9 }, { (char *) NULL, 0 } };