httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r730949 - /httpd/httpd/trunk/server/listen.c
Date Sat, 03 Jan 2009 09:52:12 GMT
Author: rpluem
Date: Sat Jan  3 01:52:12 2009
New Revision: 730949

URL: http://svn.apache.org/viewvc?rev=730949&view=rev
Log:
* Handle the case where conf->accf_map is NULL gracefully instead of segfaulting

Modified:
    httpd/httpd/trunk/server/listen.c

Modified: httpd/httpd/trunk/server/listen.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/listen.c?rev=730949&r1=730948&r2=730949&view=diff
==============================================================================
--- httpd/httpd/trunk/server/listen.c (original)
+++ httpd/httpd/trunk/server/listen.c Sat Jan  3 01:52:12 2009
@@ -183,7 +183,7 @@
     const char* accf;
     core_server_config *conf = ap_get_module_config(s->module_config,
                                                     &core_module);
-    if (!proto) {
+    if (!proto || !conf->accf_map) {
         return NULL;
     }
 



Mime
View raw message