summaryrefslogtreecommitdiffstats
path: root/debian/patches/75_05-parse.patch
blob: f9dab900f88ee4abc50ff804a4f8787ce49da51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 7eeeb6f26af05322814ecc77c87f09c72ab2216a Mon Sep 17 00:00:00 2001
From: "Heiko Schlittermann (HS12-RIPE)" <hs@schlittermann.de>
Date: Sun, 28 Mar 2021 10:58:46 +0200
Subject: [PATCH 05/23] parse

---
 src/parse.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/parse.c b/src/parse.c
index 3ea758ac9..d1bc79039 100644
--- a/src/parse.c
+++ b/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 */
 
-- 
2.30.2