From: Heiko Schlittermann (HS12-RIPE) Date: Sun, 28 Mar 2021 08:58:46 +0000 (+0200) Subject: parse X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/76559d089feff1a4915e3f1b3d539974a731cf42 parse --- diff --git a/src/src/parse.c b/src/src/parse.c index 885a01c0d..840855815 100644 --- a/src/src/parse.c +++ b/src/src/parse.c @@ -1407,12 +1407,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 */