Skip to content
Snippets Groups Projects
Commit 4c53ff81 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix stack allocation

parent 0629b7d6
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,10 @@
#include <oblibs/log.h>
#include <oblibs/types.h> // FLAGS
#include <oblibs/stack.h>
#include <skalibs/sgetopt.h>
#include <66/ssexec.h>
#include <66/service.h>
#include <66/state.h>
......
......@@ -361,7 +361,7 @@ void parse_module(resolve_service_t *res, resolve_service_t *ares, unsigned int
char *src = res->sa.s + res->path.frontend ;
char dirname[strlen(src)] ;
char copy[SS_MAX_PATH_LEN + 1] ;
char ainsta[strlen(name)] ;
char ainsta[strlen(res->sa.s + res->name) + 1] ;
stralloc list = STRALLOC_ZERO ;
resolve_wrapper_t_ref wres = 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment