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

fix allocation

parent 73204c6c
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ int parse_compute_list(resolve_wrapper_t_ref wres, stralloc *sa, uint32_t *res,
char f[len + nelement + 2] ;
memset(f, 0, len * sizeof(char)) ;
memset(f, 0, (len + nelement + 2) * sizeof(char)) ;
for (; pos < sa->len ; pos += strlen(sa->s + pos) + 1) {
......
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