]> granicus.if.org Git - sudo/commitdiff
Strip out NLSPATH and PATH_LOCALE from the environment for FreeBSD
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 Sep 2000 21:41:16 +0000 (21:41 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 7 Sep 2000 21:41:16 +0000 (21:41 +0000)
and possibly others.

sudo.c

diff --git a/sudo.c b/sudo.c
index 8841b25fc5d102a452afeee403387e0e2c7ee844..70204d276be68262b2414eb9063dffd1c7aa207a 100644 (file)
--- 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