diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:33:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:33:51 +0000 |
commit | 4f0770f3df78ecd5dcaefbd214f7a1415366bca6 (patch) | |
tree | 72661b8f81594b855bcc967b819263f63fa30e17 /debian/patches/fix-2.4.56-regression-2.patch | |
parent | Adding upstream version 2.4.56. (diff) | |
download | apache2-4f0770f3df78ecd5dcaefbd214f7a1415366bca6.tar.xz apache2-4f0770f3df78ecd5dcaefbd214f7a1415366bca6.zip |
Adding debian version 2.4.56-1~deb11u2.debian/2.4.56-1_deb11u2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/fix-2.4.56-regression-2.patch')
-rw-r--r-- | debian/patches/fix-2.4.56-regression-2.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/fix-2.4.56-regression-2.patch b/debian/patches/fix-2.4.56-regression-2.patch new file mode 100644 index 0000000..d19373c --- /dev/null +++ b/debian/patches/fix-2.4.56-regression-2.patch @@ -0,0 +1,30 @@ +Description: h2 request headers clone instead of copy +Author: Stefan Eissing +Origin: upstream, https://bz.apache.org/bugzilla/attachment.cgi?id=38527&action=diff +Bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=66539 +Bug-Debian: https://bugs.debian.org/1033408 +Forwarded: not-needed +Applied-Upstream: 2.4.57 +Reviewed-By: Yadd <yadd@debian.org> +Last-Update: 2023-04-02 + +--- a/modules/http2/h2_request.c ++++ b/modules/http2/h2_request.c +@@ -279,7 +279,7 @@ + apr_bucket *h2_request_create_bucket(const h2_request *req, request_rec *r) + { + conn_rec *c = r->connection; +- apr_table_t *headers = apr_table_copy(r->pool, req->headers); ++ apr_table_t *headers = apr_table_clone(r->pool, req->headers); + const char *uri = req->path; + + AP_DEBUG_ASSERT(req->authority); +@@ -303,7 +303,7 @@ + { + const char *cl; + +- r->headers_in = apr_table_copy(r->pool, req->headers); ++ r->headers_in = apr_table_clone(r->pool, req->headers); + if (req->authority) { + /* for internal handling, we have to simulate that :authority + * came in as Host:, RFC 9113 ch. says that mismatches between |