1
0
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:
Joe Orton
2006-06-29 10:33:18 +00:00
parent caf50e1f77
commit 6a038da843

View File

@@ -1229,6 +1229,7 @@ static void ssl_init_ctx_cleanup_proxy(modssl_ctx_t *mctx)
if (mctx->pkp->certs) {
sk_X509_INFO_pop_free(mctx->pkp->certs, X509_INFO_free);
mctx->pkp->certs = NULL;
}
}