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

memset fix

parent c252be38
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ int parse_split_from_section(resolve_service_t *res, stralloc *secname, char *st
char store[len + UINT_FMT + 1] ; // +6 be paranoid
char *line ;
memset(store, 0, sizeof(char) * (len + UINT_FMT + 1)) ;
// find the name of the current section
ssize_t previous_sec = parse_get_previous_element(secname, 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