From 4a2bd5dc2f157c50b7e4e7491eac1c930efd2100 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Sun, 28 Mar 2021 10:58:46 +0200 Subject: [PATCH] parse (cherry picked from commit 7eeeb6f26af05322814ecc77c87f09c72ab2216a) --- src/src/parse.c | 6 +----- 1 file changed, 1 insertion(+), 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 */ -- 2.30.2