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

fix overflow

parent bf9dbdb6
No related branches found
No related tags found
No related merge requests found
Pipeline #35521 failed
......@@ -609,7 +609,7 @@ void tree_enable_disable_deps(graph_t *g,char const *base, char const *treename,
log_dieu(LOG_EXIT_SYS, "get ", action ? "dependencies" : "required by" ," of: ", treename) ;
size_t len = sastr_nelement(&sa) ;
unsigned int v[len] ;
unsigned int v[len + 1] ;
memset(v, 0, (len + 1) * sizeof(unsigned int)) ;
......
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