Browse Source

- dont crash if the mod_alias config cant be parsed properly

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1974 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.17
Marcus Rückert 15 years ago
parent
commit
f2c8fb6eca
  1. 1
      NEWS
  2. 2
      src/mod_alias.c

1
NEWS

@ -25,6 +25,7 @@ NEWS
* fixed prctl() usage (#1310)
* removed config-check if passwd files exist (#1188)
* fixed crash when etags are disabled but the client sends one (#1322)
* fixed crash when freeing the config in mod_alias
- 1.4.16 -

2
src/mod_alias.c

@ -45,6 +45,8 @@ FREE_FUNC(mod_alias_free) {
for (i = 0; i < srv->config_context->used; i++) {
plugin_config *s = p->config_storage[i];
if(!s) continue;
array_free(s->alias);
free(s);

Loading…
Cancel
Save