2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

remove $ENV and $BASH_ENV (dangerous in ksh, posix sh, and bash)

This commit is contained in:
Todd C. Miller
1996-08-17 17:22:13 +00:00
parent c3991cf7e7
commit 6da9b067a1

2
sudo.c
View File

@@ -169,6 +169,8 @@ struct env_table badenv_table[] = {
#ifdef HAVE_KERB4
{ "KRB_CONF", 8 },
#endif
{ "ENV=", 4 },
{ "BASH_ENV=", 9 },
{ (char *) NULL, 0 }
};