diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 02:04:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-07 02:04:07 +0000 |
commit | 1221c736f9a90756d47ea6d28320b6b83602dd2a (patch) | |
tree | b453ba7b1393205258c9b098a773b4330984672f /debian/patches/CVE-2021-39275.patch | |
parent | Adding upstream version 2.4.38. (diff) | |
download | apache2-1221c736f9a90756d47ea6d28320b6b83602dd2a.tar.xz apache2-1221c736f9a90756d47ea6d28320b6b83602dd2a.zip |
Adding debian version 2.4.38-3+deb10u8.debian/2.4.38-3+deb10u8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/CVE-2021-39275.patch')
-rw-r--r-- | debian/patches/CVE-2021-39275.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/CVE-2021-39275.patch b/debian/patches/CVE-2021-39275.patch new file mode 100644 index 0000000..d489891 --- /dev/null +++ b/debian/patches/CVE-2021-39275.patch @@ -0,0 +1,35 @@ +Description: Backport of + From c69d4cc90c0e27703030b3ff09f91bf4dcbcfd51 Mon Sep 17 00:00:00 2001 + From: Stefan Eissing <icing@apache.org> + Date: Tue, 10 Aug 2021 08:55:54 +0000 + Subject: [PATCH] Merged r1892012 from trunk: + . + and + From ac62c7e7436560cf4f7725ee586364ce95c07804 Mon Sep 17 00:00:00 2001 + From: Graham Leggett <minfrin@apache.org> + Date: Sat, 21 Aug 2021 21:35:04 +0000 + Subject: [PATCH] Backport: +Author: Moritz Muehlenhoff <jmm@inutil.org> +Origin: upstream +Forwarded: not-needed +Last-Update: 2021-09-30 + +--- a/server/util.c ++++ b/server/util.c +@@ -2460,13 +2460,12 @@ + * in front of every " that doesn't already have one. + */ + while (*inchr != '\0') { +- if ((*inchr == '\\') && (inchr[1] != '\0')) { +- *outchr++ = *inchr++; +- *outchr++ = *inchr++; +- } + if (*inchr == '"') { + *outchr++ = '\\'; + } ++ if ((*inchr == '\\') && (inchr[1] != '\0')) { ++ *outchr++ = *inchr++; ++ } + if (*inchr != '\0') { + *outchr++ = *inchr++; + } |