[exim-cvs] Fix bogus taint coding in setenv

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Fix bogus taint coding in setenv
Gitweb: https://git.exim.org/exim.git/commitdiff/613a03d42cf64f31e01db40a3c3d517b354d5389
Commit:     613a03d42cf64f31e01db40a3c3d517b354d5389
Parent:     65766f1b723ea2e16d7ebebeeb6367147098bd18
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Aug 3 16:40:14 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Aug 3 16:40:14 2019 +0100


    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 0274830..90e6793 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;
}