summaryrefslogtreecommitdiff
path: root/src/stat_cache.c
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2013-11-13 11:43:28 +0000
committerStefan Bühler <stbuehler@web.de>2013-11-13 11:43:28 +0000
commitae1335503a8f63489f847668ee37df8470a2ab0a (patch)
treeca6ce0d8a8d12fbe06e73b2eb6ab64b575532bb7 /src/stat_cache.c
parent6f208cfde145fa392add2fd97cfe3b2152d279b0 (diff)
downloadlighttpd1.4-ae1335503a8f63489f847668ee37df8470a2ab0a.tar.gz
lighttpd1.4-ae1335503a8f63489f847668ee37df8470a2ab0a.zip
[stat-cache] FAM: fix use after free (CVE-2013-4560)
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2921 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/stat_cache.c')
-rw-r--r--src/stat_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stat_cache.c b/src/stat_cache.c
index e995f3b1..924f4dcf 100644
--- a/src/stat_cache.c
+++ b/src/stat_cache.c
@@ -648,6 +648,7 @@ handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_
FamErrlist[FAMErrno]);
fam_dir_entry_free(fam_dir);
+ fam_dir = NULL;
} else {
int osize = 0;