mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* modules/ssl/ssl_engine_init.c (ssl_init_ctx_cleanup_proxy): Unset
pkp->certs pointer after freeing the array; fixes segfault at startup if the certs are shared across >1 server_rec. PR: 39915 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@417988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1229,6 +1229,7 @@ static void ssl_init_ctx_cleanup_proxy(modssl_ctx_t *mctx)
|
|||||||
|
|
||||||
if (mctx->pkp->certs) {
|
if (mctx->pkp->certs) {
|
||||||
sk_X509_INFO_pop_free(mctx->pkp->certs, X509_INFO_free);
|
sk_X509_INFO_pop_free(mctx->pkp->certs, X509_INFO_free);
|
||||||
|
mctx->pkp->certs = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user