From c89d761956fae3d4db1d995cd9643879fc7cacc4 Mon Sep 17 00:00:00 2001 From: owl Date: Tue, 9 May 2023 17:39:58 +0800 Subject: [PATCH 1/3] fix(doc): add changelog for ngx_lua-1.21.4_07-print-body-double-free bug fix --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff07312a7e9..0fbd53e5f08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,6 +77,8 @@ [#10288](https://github.com/Kong/kong/pull/10288) - Added new span attribute `http.client_ip` to capture the client IP when behind a proxy. [#10723](https://github.com/Kong/kong/pull/10723) +- Backported the openresty `ngx.print` chunk encoding buffer double free bug fix. + [#10816](https://github.com/Kong/kong/pull/10816) #### Admin API From ad5357061170962911b8e5d0a6eaf16c15f0077b Mon Sep 17 00:00:00 2001 From: owl Date: Tue, 9 May 2023 17:41:24 +0800 Subject: [PATCH 2/3] fix(doc): add changelog for ngx_lua-1.21.4_07-print-body-double-free bug fix --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fbd53e5f08..c59de242c7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ [#10723](https://github.com/Kong/kong/pull/10723) - Backported the openresty `ngx.print` chunk encoding buffer double free bug fix. [#10816](https://github.com/Kong/kong/pull/10816) + [#10824](https://github.com/Kong/kong/pull/10824) #### Admin API From 3f30b033b286f560ee0ce2361619e3c3c4c29752 Mon Sep 17 00:00:00 2001 From: owl Date: Tue, 9 May 2023 17:59:02 +0800 Subject: [PATCH 3/3] fix(doc): fix code --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c59de242c7e..7c69ebba903 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,7 +77,8 @@ [#10288](https://github.com/Kong/kong/pull/10288) - Added new span attribute `http.client_ip` to capture the client IP when behind a proxy. [#10723](https://github.com/Kong/kong/pull/10723) -- Backported the openresty `ngx.print` chunk encoding buffer double free bug fix. +- Backported the openresty `ngx.print` chunk encoding buffer double free bug fix that + leads to the corruption of chunk-encoded response data. [#10816](https://github.com/Kong/kong/pull/10816) [#10824](https://github.com/Kong/kong/pull/10824)