fixes missing FuncStruct initialization in load_modules

Thu, 29 Dec 2016 10:15:43 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 29 Dec 2016 10:15:43 +0100
changeset 140
93247a579184
parent 139
29ac9aed4889
child 141
ff311b63c3af

fixes missing FuncStruct initialization in load_modules

src/server/safs/init.c file | annotate | diff | comparison | revisions
--- 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);

mercurial