2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

now actually builds Envp instead of munging envp

This commit is contained in:
Todd C. Miller
1993-09-05 12:35:37 +00:00
parent 1c2d27eea6
commit f00b6795c7

2
sudo.c
View File

@@ -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;