summaryrefslogtreecommitdiffstats
path: root/debian/patches/75_05-parse.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:44:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:44:08 +0000
commit933bbaf3ed7bd659a5c044745aea763815928598 (patch)
tree6fe3906ff9f7121999800da3683c206d128b7d39 /debian/patches/75_05-parse.patch
parentAdding upstream version 4.94.2. (diff)
downloadexim4-933bbaf3ed7bd659a5c044745aea763815928598.tar.xz
exim4-933bbaf3ed7bd659a5c044745aea763815928598.zip
Adding debian version 4.94.2-7+deb11u2.debian/4.94.2-7+deb11u2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/75_05-parse.patch')
-rw-r--r--debian/patches/75_05-parse.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/75_05-parse.patch b/debian/patches/75_05-parse.patch
new file mode 100644
index 0000000..f9dab90
--- /dev/null
+++ b/debian/patches/75_05-parse.patch
@@ -0,0 +1,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
+