httpd/httpd-2.4.63-CVE-2026-42536.patch
2026-07-01 07:22:56 -04:00

13 lines
567 B
Diff

diff --git a/modules/filters/mod_xml2enc.c b/modules/filters/mod_xml2enc.c
index eb05c18..20862bb 100644
--- a/modules/filters/mod_xml2enc.c
+++ b/modules/filters/mod_xml2enc.c
@@ -164,6 +164,7 @@ static void fix_skipto(request_rec* r, xml2ctx* ctx)
apr_bucket_delete(b);
}
ctx->bytes -= (p-ctx->buf);
+ ctx->bblen -= (p-ctx->buf);
ctx->buf = p ;
found = 1;
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01428)