From 38e8e63f951c6b1f354db7d97f2ca3dc36ee1008 Mon Sep 17 00:00:00 2001 From: Codex Date: Thu, 4 Jun 2026 18:55:27 -0500 Subject: [PATCH] Fix stale gzip preallocated pointer --- src/http/modules/ngx_http_gzip_filter_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/modules/ngx_http_gzip_filter_module.c b/src/http/modules/ngx_http_gzip_filter_module.c index b6198625a..9193f8cd9 100644 --- a/src/http/modules/ngx_http_gzip_filter_module.c +++ b/src/http/modules/ngx_http_gzip_filter_module.c @@ -902,6 +902,7 @@ ngx_http_gzip_filter_deflate_end(ngx_http_request_t *r, } ngx_pfree(r->pool, ctx->preallocated); + ctx->preallocated = NULL; cl = ngx_alloc_chain_link(r->pool); if (cl == NULL) {