httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1427456 - /httpd/httpd/trunk/modules/ssl/ssl_engine_log.c
Date Tue, 01 Jan 2013 16:23:29 GMT
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,



Mime
View raw message