# HG changeset patch
# User Olaf Wintermann <olaf.wintermann@gmail.com>
# Date 1483002943 -3600
# Node ID 93247a579184bc1719f667487634c5de76331627
# Parent  29ac9aed48890a73bf84fd60c80d1da584564a27
fixes missing FuncStruct initialization in load_modules

diff -r 29ac9aed4889 -r 93247a579184 src/server/safs/init.c
--- a/src/server/safs/init.c	Wed Dec 28 17:27:14 2016 +0100
+++ b/src/server/safs/init.c	Thu Dec 29 10:15:43 2016 +0100
@@ -92,6 +92,7 @@
                 return REQ_ABORTED;
             }
             struct FuncStruct fc;
+            ZERO(&fc, sizeof(struct FuncStruct));
             fc.func = (FuncPtr)sym;
             fc.name = sstrdup(sstr(funcs)).ptr;
             add_function(&fc);