aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib
diff options
context:
space:
mode:
Diffstat (limited to 'ctl-lib')
-rw-r--r--ctl-lib/ctl-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c
index 891e857..fd40f1c 100644
--- a/ctl-lib/ctl-lua.c
+++ b/ctl-lib/ctl-lua.c
@@ -1284,7 +1284,7 @@ PUBLIC int LuaConfigExec (AFB_ApiT apiHandle, const char* prefix) {
int err, index;
// search for default policy config files
- char fullprefix[CONTROL_MAXPATH_LEN];
+ char fullprefix[CONTROL_MAXPATH_LEN] = "";
if(prefix)
strncpy (fullprefix, prefix, strlen(prefix)+1);
else