From: Todd C. Miller <Todd.Miller@courtesan.com>
Date: Tue, 4 Mar 2003 02:47:24 +0000 (+0000)
Subject: Remove DYLD_ from the environment for MacOS X; from bbraun
X-Git-Tag: SUDO_1_6_7~77
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=466216fe8e67dd3ab5357a9799cbf9182b1c164a;p=sudo

Remove DYLD_ from the environment for MacOS X; from bbraun
---

diff --git a/env.c b/env.c
index f86a3eae7..622318619 100644
--- a/env.c
+++ b/env.c
@@ -108,6 +108,9 @@ static const char *initial_badenv_table[] = {
 #ifdef _AIX
     "LIBPATH",
 #endif /* _AIX */
+#ifdef __APPLE__
+    "DYLD_*",
+#endif
 #ifdef HAVE_KERB4
     "KRB_CONF*",
     "KRBCONFDIR"