Certificates: fixed crash when reallocating chain.
This commit is contained in:
@@ -31,6 +31,13 @@ NGINX Unit updated to 1.27.0.
|
|||||||
date="" time=""
|
date="" time=""
|
||||||
packager="Andrei Belov <defan@nginx.com>">
|
packager="Andrei Belov <defan@nginx.com>">
|
||||||
|
|
||||||
|
<change type="bugfix">
|
||||||
|
<para>
|
||||||
|
the controller process could crash when a chain with more than 4
|
||||||
|
certificates was uploaded.
|
||||||
|
</para>
|
||||||
|
</change>
|
||||||
|
|
||||||
<change type="bugfix">
|
<change type="bugfix">
|
||||||
<para>
|
<para>
|
||||||
some Perl applications failed to process the request body, notably with Plack.
|
some Perl applications failed to process the request body, notably with Plack.
|
||||||
|
|||||||
@@ -241,7 +241,6 @@ nxt_cert_bio(nxt_task_t *task, BIO *bio)
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
nxt_free(cert);
|
|
||||||
cert = new_cert;
|
cert = new_cert;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user