From 0b84b1f439171f96ba8ca5888222c62f2cd2bc05 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Sun, 28 Mar 2021 10:59:46 +0200 Subject: [PATCH] rda --- src/src/rda.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } -- 2.30.2