diff options
Diffstat (limited to 'ctl-lib/ctl-lua.c')
-rw-r--r-- | ctl-lib/ctl-lua.c | 2 |
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 |