From 5507b2328c58f1032de0e217e40952165d4d0d51 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 26 Jan 2016 07:42:57 -0700 Subject: [PATCH] Pass updated user_env_out, not envp, to the I/O open function. --- src/sudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sudo.c b/src/sudo.c index 4ec2ba6fb..e064368d2 100644 --- a/src/sudo.c +++ b/src/sudo.c @@ -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; -- 2.40.0