Added wrong patch by mistake.

Resolves: RHEL-182418 - mod_http2: HTTP/2: Remote Denial of Service via

  compression bomb and Slowloris-style attack (CVE-2026-49975)
This commit is contained in:
Luboš Uhliarik 2026-06-08 10:05:01 +02:00
parent b245fef7f0
commit aa463ee2f5

View File

@ -20,8 +20,8 @@ index c20e879..6b683ab 100644
else if (H2_HD_MATCH_LIT("cookie", name, nlen)) {
existing = apr_table_get(headers, "Cookie");
if (existing) {
+ if (!nv->valuelen)
+ return APR_SUCCESS
+ if (!vlen)
+ return APR_SUCCESS;
/* Cookie headers come separately in HTTP/2, but need
* to be merged by "; " (instead of default ", ")
*/