From: Heiko Schlittermann (HS12-RIPE) Date: Sun, 28 Mar 2021 08:59:46 +0000 (+0200) Subject: rda X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/0b84b1f439171f96ba8ca5888222c62f2cd2bc05 rda --- diff --git a/src/src/rda.c b/src/src/rda.c index 5615b64d5..dcb097e56 100644 --- a/src/src/rda.c +++ b/src/src/rda.c @@ -179,10 +179,8 @@ struct stat statbuf; /* Reading a file is a form of expansion; we wish to deny attackers the capability to specify the file name. */ -if (is_tainted(filename)) +if (*error = is_tainted2(filename, 0, "Tainted name '%s' for file read not permitted\n", filename)) { - *error = string_sprintf("Tainted name '%s' for file read not permitted\n", - filename); *yield = FF_ERROR; return NULL; }