diff options
author | Arno Töll <arno@debian.org> | 2012-11-21 23:03:52 +0100 |
---|---|---|
committer | Arno Töll <arno@debian.org> | 2012-11-21 23:03:52 +0100 |
commit | 36c2c9520cdf4e725d0597eaa28c350087f1d3c0 (patch) | |
tree | 9337d6a9fac555f4391cf529a6a3c805db0b6d3a /src/stat_cache.c | |
parent | f1532bfdd56dc641ae366f6ecd4c490c11117aac (diff) | |
download | lighttpd-36c2c9520cdf4e725d0597eaa28c350087f1d3c0.tar.gz |
Imported Upstream version 1.4.22upstream/1.4.22
Diffstat (limited to 'src/stat_cache.c')
-rw-r--r-- | src/stat_cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stat_cache.c b/src/stat_cache.c index 9325693..fa94eed 100644 --- a/src/stat_cache.c +++ b/src/stat_cache.c @@ -445,7 +445,9 @@ handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_ /* dir-check */ if (srv->srvconf.stat_cache_engine == STAT_CACHE_ENGINE_FAM) { if (0 != buffer_copy_dirname(sc->dir_name, name)) { - SEGFAULT(); + log_error_write(srv, __FILE__, __LINE__, "sb", + "no '/' found in filename:", name); + return HANDLER_ERROR; } buffer_copy_string_buffer(sc->hash_key, sc->dir_name); |