diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-02-14 20:14:03 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-02-14 20:14:03 +0800 |
commit | 4fcfb9d5fb2b1bfbb3bd87a8617d293cbf2f4ddf (patch) | |
tree | bc01cc0f895f5a85c6c96293e848ca2fac4ec69f | |
parent | bf6282b16ca192ace20b35711ed9b8a8014e63d4 (diff) | |
download | unit-4fcfb9d5fb2b1bfbb3bd87a8617d293cbf2f4ddf.tar.gz unit-4fcfb9d5fb2b1bfbb3bd87a8617d293cbf2f4ddf.tar.bz2 |
Certificates: fixed crash when reallocating chain.
-rw-r--r-- | docs/changes.xml | 7 | ||||
-rw-r--r-- | src/nxt_cert.c | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/changes.xml b/docs/changes.xml index a6b1178d..3ef1ac3f 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -33,6 +33,13 @@ NGINX Unit updated to 1.27.0. <change type="bugfix"> <para> +the controller process could crash when a chain with more than 4 +certificates was uploaded. +</para> +</change> + +<change type="bugfix"> +<para> some Perl applications failed to process the request body, notably with Plack. </para> </change> diff --git a/src/nxt_cert.c b/src/nxt_cert.c index 01d413e0..4a1f1496 100644 --- a/src/nxt_cert.c +++ b/src/nxt_cert.c @@ -241,7 +241,6 @@ nxt_cert_bio(nxt_task_t *task, BIO *bio) goto fail; } - nxt_free(cert); cert = new_cert; } |