diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2/CVE-2021-26691.patch')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2/CVE-2021-26691.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2/CVE-2021-26691.patch b/meta-webserver/recipes-httpd/apache2/apache2/CVE-2021-26691.patch deleted file mode 100644 index f9cf868d0..000000000 --- a/meta-webserver/recipes-httpd/apache2/apache2/CVE-2021-26691.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 7e09dd714fc62c08c5b0319ed7b9702594faf49b Mon Sep 17 00:00:00 2001 | ||
2 | From: Yann Ylavic <ylavic@apache.org> | ||
3 | Date: Mon, 1 Mar 2021 20:13:54 +0000 | ||
4 | Subject: [PATCH] mod_session: account for the '&' in identity_concat(). | ||
5 | |||
6 | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887052 13f79535-47bb-0310-9956-ffa450edef68 | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | CVE: CVE-2021-26691 | ||
10 | |||
11 | Reference to upstream patch: | ||
12 | https://bugzilla.redhat.com/show_bug.cgi?id=1966732 | ||
13 | https://github.com/apache/httpd/commit/7e09dd714fc62c08c5b0319ed7b9702594faf49b | ||
14 | |||
15 | Signed-off-by: Li Wang <li.wang@windriver.com> | ||
16 | --- | ||
17 | modules/session/mod_session.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/modules/session/mod_session.c b/modules/session/mod_session.c | ||
21 | index 7ee477c..ebd05b0 100644 | ||
22 | --- a/modules/session/mod_session.c | ||
23 | +++ b/modules/session/mod_session.c | ||
24 | @@ -317,7 +317,7 @@ static apr_status_t ap_session_set(request_rec * r, session_rec * z, | ||
25 | static int identity_count(void *v, const char *key, const char *val) | ||
26 | { | ||
27 | int *count = v; | ||
28 | - *count += strlen(key) * 3 + strlen(val) * 3 + 1; | ||
29 | + *count += strlen(key) * 3 + strlen(val) * 3 + 2; | ||
30 | return 1; | ||
31 | } | ||
32 | |||
33 | -- | ||
34 | 2.7.4 | ||
35 | |||