From: Todd C. Miller Date: Sun, 5 Sep 1993 12:35:37 +0000 (+0000) Subject: now actually builds Envp instead of munging envp X-Git-Tag: SUDO_1_3_0~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f00b6795c723443ff670529ec7ac1b339e365b31;p=sudo now actually builds Envp instead of munging envp --- diff --git a/sudo.c b/sudo.c index 156f670c5..91d779380 100644 --- a/sudo.c +++ b/sudo.c @@ -268,7 +268,7 @@ if ( Envp == NULL ) { } /* omit all LD_* environmental vars */ -for ( Envp=tenvp=envp; *envp; envp++ ) +for ( tenvp=Envp; *envp; envp++ ) if ( strncmp ("LD_", *envp, 3) ) *tenvp++ = *envp;