autofs-5.0.1 - fix null cache clean From: Ian Kent <raven@themaw.net> A function to clean the null map entry cache was added to avoid a race when re-reading the master map. That function mistakenly fails to clear the hash bucket array entries which leads to a segmentation fault on the next null cache lookup. --- lib/cache.c | 1 + 1 file changed, 1 insertion(+) --- autofs-5.0.1.orig/lib/cache.c +++ autofs-5.0.1/lib/cache.c @@ -251,6 +251,7 @@ void cache_clean_null_cache(struct mapen free(me->key); free(me); } + mc->hash[i] = NULL; } return;