From: Heiko Schlittermann (HS12-RIPE) Date: Sun, 28 Mar 2021 08:58:46 +0000 (+0200) Subject: parse X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/7eeeb6f26af05322814ecc77c87f09c72ab2216a?hp=44fd80ad8abcd885fc1c8dbb294fc2140e4ef481 parse --- diff --git a/src/src/parse.c b/src/src/parse.c index 3ea758ac9..d1bc79039 100644 --- a/src/src/parse.c +++ b/src/src/parse.c @@ -1402,12 +1402,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 */