From: Ruediger Pluem Date: Sat, 3 Jan 2009 09:52:12 +0000 (+0000) Subject: * Handle the case where conf->accf_map is NULL gracefully instead of segfaulting X-Git-Tag: 2.3.2~240 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4e974403c6f32a5c6dee870391eb877a4d4809f;p=apache * Handle the case where conf->accf_map is NULL gracefully instead of segfaulting git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730949 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/listen.c b/server/listen.c index 8ec09dc026..e6ba2512a3 100644 --- a/server/listen.c +++ b/server/listen.c @@ -183,7 +183,7 @@ static const char* find_accf_name(server_rec *s, const char *proto) 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; }