From 613a03d42cf64f31e01db40a3c3d517b354d5389 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 3 Aug 2019 16:40:14 +0100 Subject: [PATCH] Fix bogus taint coding in setenv This probably only affects Solaris; where it broke the build --- src/src/setenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/src/setenv.c b/src/src/setenv.c index 027483019..90e679304 100644 --- a/src/src/setenv.c +++ b/src/src/setenv.c @@ -17,7 +17,7 @@ setenv(const char * name, const char * val, int overwrite) uschar * s; if (Ustrchr(name, '=')) return -1; if (overwrite || !getenv(name)) - putenv(CS string_copy_perm(string_sprintf("%s=%s", name, val)), FALSE); + putenv(CS string_copy_perm(string_sprintf("%s=%s", name, val), FALSE)); return 0; } -- 2.30.2