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
/
parse.c
diff --git
a/src/src/parse.c
b/src/src/parse.c
index e30b80527751b190ff573d0c4e98b5ca936bcfe9..cf673e7167b9541ad6e89264703bcbba6978f302 100644
(file)
--- a/
src/src/parse.c
+++ b/
src/src/parse.c
@@
-1414,8
+1414,12
@@
for (;;)
return FF_ERROR;
}
return FF_ERROR;
}
- if ((*error = is_tainted2(filename, 0, "Tainted name '%s' for included file not permitted\n", filename)))
+ if (is_tainted(filename))
+ {
+ *error = string_sprintf("Tainted name '%s' for included file not permitted\n",
+ filename);
return FF_ERROR;
return FF_ERROR;
+ }
/* Check file name if required */
/* Check file name if required */