Gitweb:
https://git.exim.org/exim.git/commitdiff/4a2bd5dc2f157c50b7e4e7491eac1c930efd2100
Commit: 4a2bd5dc2f157c50b7e4e7491eac1c930efd2100
Parent: ace68726852d08deec815a37f369a4e31be77813
Author: Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Sun Mar 28 10:58:46 2021 +0200
Committer: Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Thu Jun 24 21:43:06 2021 +0200
parse
(cherry picked from commit 7eeeb6f26af05322814ecc77c87f09c72ab2216a)
---
src/src/parse.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/src/parse.c b/src/src/parse.c
index fa33952..e70dabd 100644
--- a/src/src/parse.c
+++ b/src/src/parse.c
@@ -1415,12 +1415,8 @@ for (;;)
return FF_ERROR;
}
- if (is_tainted(filename))
- {
- *error = string_sprintf("Tainted name '%s' for included file not permitted\n",
- filename);
+ if (*error = is_tainted2(filename, 0, "Tainted name '%s' for included file not permitted\n", filename))
return FF_ERROR;
- }
/* Check file name if required */