diff options
author | Stefan Bühler <stbuehler@web.de> | 2015-05-14 09:38:33 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2015-05-14 09:38:33 +0000 |
commit | 33cebeb0f778d437e1a6070504f588b2531fa291 (patch) | |
tree | 0e0e0a4fb84871f3c32b2f1e3f76312264c1274a /src/mod_evhost.c | |
parent | df87b3ef98711b6a4ca4cefb1fceec022ddcdc13 (diff) | |
download | lighttpd-git-33cebeb0f778d437e1a6070504f588b2531fa291.tar.gz |
fix segfaults in many plugins if they failed configuration
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2988 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_evhost.c')
-rw-r--r-- | src/mod_evhost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_evhost.c b/src/mod_evhost.c index e728551a..3c49adfa 100644 --- a/src/mod_evhost.c +++ b/src/mod_evhost.c @@ -46,7 +46,7 @@ FREE_FUNC(mod_evhost_free) { for (i = 0; i < srv->config_context->used; i++) { plugin_config *s = p->config_storage[i]; - if (!s) continue; + if (NULL == s) continue; if(s->path_pieces) { size_t j; |