mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 14:55:12 +00:00
Strip out NLSPATH and PATH_LOCALE from the environment for FreeBSD
and possibly others.
This commit is contained in:
2
sudo.c
2
sudo.c
@@ -148,6 +148,8 @@ static struct env_table badenv_table[] = {
|
|||||||
{ "LOCALDOMAIN=", 12 },
|
{ "LOCALDOMAIN=", 12 },
|
||||||
{ "RES_OPTIONS=", 12 },
|
{ "RES_OPTIONS=", 12 },
|
||||||
{ "HOSTALIASES=", 12 },
|
{ "HOSTALIASES=", 12 },
|
||||||
|
{ "NLSPATH=", 8 },
|
||||||
|
{ "PATH_LOCALE=", 12 },
|
||||||
{ "LD_", 3 },
|
{ "LD_", 3 },
|
||||||
{ "_RLD", 4 },
|
{ "_RLD", 4 },
|
||||||
#ifdef __hpux
|
#ifdef __hpux
|
||||||
|
Reference in New Issue
Block a user