svn commit: r1937112 - httpd/httpd/trunk/modules/http
| Newsgroups | gmane.comp.apache.cvs |
|---|---|
| Message-ID | <178663693139.1604642.1749310504939735288@svn03-he-fi> |
Author: jorton Date: Thu Aug 13 16:02:11 2026 New Revision: 1937112 Log: * modules/http/http_filters.c (ap_http_filter): Fix use-after-free of a HEADERS bucket. Fixes: 4442201e616 (SVN r1899547, trunk-only) Assisted-by: Claude Opus 4.6 <[email protected]> Modified: httpd/httpd/trunk/modules/http/http_filters.c Modified: httpd/httpd/trunk/modules/http/http_filters.c ============================================================================== --- httpd/httpd/trunk/modules/http/http_filters.c Thu Aug 13 15:16:10 2026 (r1937111) +++ httpd/httpd/trunk/modules/http/http_filters.c Thu Aug 13 16:02:11 2026 (r1937112) @@ -414,7 +414,7 @@ apr_status_t ap_http_filter(ap_filter_t } apr_bucket_delete(e); } - if (APR_BUCKET_IS_EOS(e)) { + else if (APR_BUCKET_IS_EOS(e)) { ctx->at_eos = 1; if (!apr_is_empty_table(r->trailers_in)) { core_server_config *conf = ap_get_module_config(