You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2020/05/10 12:58:26 UTC
svn commit: r1877549 - /httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
Author: ylavic
Date: Sun May 10 12:58:26 2020
New Revision: 1877549
URL: http://svn.apache.org/viewvc?rev=1877549&view=rev
Log:
mod_ssl: destroy temporary pool on stapling_renew_response() failure.
Modified:
httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c?rev=1877549&r1=1877548&r2=1877549&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c Sun May 10 12:58:26 2020
@@ -521,11 +521,13 @@ static BOOL stapling_renew_response(serv
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01939)
"stapling_renew_response: Error parsing uri %s",
ocspuri);
+ apr_pool_destroy(vpool);
goto err;
}
else if (strcmp(uri.scheme, "http")) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(01940)
"stapling_renew_response: Unsupported uri %s", ocspuri);
+ apr_pool_destroy(vpool);
goto err;
}