File cve-2013-4560.patch of Package lighttpd.openSUSE_13.1_Update

origin: http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2013_03.txt

commit bbbe8878144ab178c6ec37e9aeb99640cc8b6672
Author: Stefan Bühler <stbuehler@web.de>
Date:   Tue Nov 12 12:37:03 2013 +0100

    [stat-cache] FAM: fix use after free

diff --git a/src/stat_cache.c b/src/stat_cache.c
index e995f3b..924f4dc 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;
 
openSUSE Build Service is sponsored by