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

Strip out NLSPATH and PATH_LOCALE from the environment for FreeBSD

and possibly others.
This commit is contained in:
Todd C. Miller
2000-09-07 21:41:16 +00:00
parent 2ff3a2315e
commit deb5b07f40

2
sudo.c
View File

@@ -148,6 +148,8 @@ static struct env_table badenv_table[] = {
{ "LOCALDOMAIN=", 12 },
{ "RES_OPTIONS=", 12 },
{ "HOSTALIASES=", 12 },
{ "NLSPATH=", 8 },
{ "PATH_LOCALE=", 12 },
{ "LD_", 3 },
{ "_RLD", 4 },
#ifdef __hpux