mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_ssl: destroy temporary pool on stapling_renew_response() failure.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -521,11 +521,13 @@ static BOOL stapling_renew_response(server_rec *s, modssl_ctx_t *mctx, SSL *ssl,
|
|||||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01939)
|
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01939)
|
||||||
"stapling_renew_response: Error parsing uri %s",
|
"stapling_renew_response: Error parsing uri %s",
|
||||||
ocspuri);
|
ocspuri);
|
||||||
|
apr_pool_destroy(vpool);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
else if (strcmp(uri.scheme, "http")) {
|
else if (strcmp(uri.scheme, "http")) {
|
||||||
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01940)
|
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01940)
|
||||||
"stapling_renew_response: Unsupported uri %s", ocspuri);
|
"stapling_renew_response: Unsupported uri %s", ocspuri);
|
||||||
|
apr_pool_destroy(vpool);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user