You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2013/01/01 17:23:29 UTC
svn commit: r1427456 - /httpd/httpd/trunk/modules/ssl/ssl_engine_log.c
Author: sf
Date: Tue Jan 1 16:23:28 2013
New Revision: 1427456
URL: http://svn.apache.org/viewvc?rev=1427456&view=rev
Log:
abort if BIO_new fails due to lack of memory
Modified:
httpd/httpd/trunk/modules/ssl/ssl_engine_log.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_log.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_log.c?rev=1427456&r1=1427455&r2=1427456&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_log.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_log.c Tue Jan 1 16:23:28 2013
@@ -182,6 +182,9 @@ static void ssl_log_cert_error(const cha
BIO_free(bio);
}
+ else {
+ ap_abort_on_oom();
+ }
}
else {
apr_snprintf(buf + msglen, sizeof buf - msglen,