]> granicus.if.org Git - sudo/commitdiff
Pass updated user_env_out, not envp, to the I/O open function.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 26 Jan 2016 14:42:57 +0000 (07:42 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 26 Jan 2016 14:42:57 +0000 (07:42 -0700)
src/sudo.c

index 4ec2ba6fb113af35b403d050af7465bb59e5e36f..e064368d291ff2411cfbf37d5a291655e1083393 100644 (file)
@@ -258,7 +258,7 @@ main(int argc, char *argv[], char *envp[])
            /* Open I/O plugins once policy plugin succeeds. */
            TAILQ_FOREACH_SAFE(plugin, &io_plugins, entries, next) {
                ok = iolog_open(plugin, settings, user_info,
-                   command_info, nargc, nargv, envp);
+                   command_info, nargc, nargv, user_env_out);
                switch (ok) {
                case 1:
                    break;