summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-03-28 10:58:46 +0200
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>2021-06-24 21:43:06 +0200
commit4a2bd5dc2f157c50b7e4e7491eac1c930efd2100 (patch)
tree12bc3290a0a3515549c0275ad81126b4fb010697 /src
parentace68726852d08deec815a37f369a4e31be77813 (diff)
parse
(cherry picked from commit 7eeeb6f26af05322814ecc77c87f09c72ab2216a)
Diffstat (limited to 'src')
-rw-r--r--src/src/parse.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/src/parse.c b/src/src/parse.c
index fa3395206..e70dabd58 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 */