diff --git a/src/lib66/ssexec_init.c b/src/lib66/ssexec_init.c index 923eb7eaa2f9bf974e230db06b70fc8cbd9a2c63..75e378986e2bacc45eb37668fefb19f4b41d988f 100644 --- a/src/lib66/ssexec_init.c +++ b/src/lib66/ssexec_init.c @@ -84,7 +84,7 @@ int ssexec_init(int argc, char const *const *argv,char const *const *envp,ssexec size_t dirlen ; size_t svdirlen ; - char svdir[info->tree.len + SS_SVDIRS_LEN + SS_DB_LEN + 1 + info->treename.len + 1] ; + char svdir[info->tree.len + SS_SVDIRS_LEN + SS_SVC_LEN + 1] ; memcpy(svdir,info->tree.s,info->tree.len) ; memcpy(svdir + info->tree.len ,SS_SVDIRS ,SS_SVDIRS_LEN) ; svdirlen = info->tree.len + SS_SVDIRS_LEN ;