git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65766f1
)
Fix bogus taint coding in setenv
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 3 Aug 2019 15:40:14 +0000
(16:40 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 3 Aug 2019 15:40:14 +0000
(16:40 +0100)
This probably only affects Solaris; where it broke the build
src/src/setenv.c
patch
|
blob
|
history
diff --git
a/src/src/setenv.c
b/src/src/setenv.c
index 0274830195c72ff6bf03ab1c1947e7486a25101e..90e679304f67c7240365bc51bc58ecde68cc49c3 100644
(file)
--- 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;
}