git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert introduction of alloc_insecure_tainted_data
[exim.git]
/
src
/
src
/
directory.c
diff --git
a/src/src/directory.c
b/src/src/directory.c
index 11bf7338b98d14b685c8df434c580f4ce4f210b3..5363cd405a37cd4b57baaa5323883fa3b9703d48 100644
(file)
--- a/
src/src/directory.c
+++ b/
src/src/directory.c
@@
-44,8
+44,8
@@
uschar c = 1;
struct stat statbuf;
uschar * path;
struct stat statbuf;
uschar * path;
-if (is_tainted
2(name, LOG_MAIN|LOG_PANIC, "Tainted path '%s' for new directory", name))
- { p = US"create"; path = US name; errno = E
ACCES
; goto bad; }
+if (is_tainted
(name))
+ { p = US"create"; path = US name; errno = E
RRNO_TAINT
; goto bad; }
if (parent)
{
if (parent)
{