From: Todd C. Miller Date: Thu, 7 Sep 2000 21:41:16 +0000 (+0000) Subject: Strip out NLSPATH and PATH_LOCALE from the environment for FreeBSD X-Git-Tag: SUDO_1_6_4~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=deb5b07f40e455d03399078e9d254e2efc921d75;p=sudo Strip out NLSPATH and PATH_LOCALE from the environment for FreeBSD and possibly others. --- diff --git a/sudo.c b/sudo.c index 8841b25fc..70204d276 100644 --- a/sudo.c +++ b/sudo.c @@ -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