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

better with the size

parent 881e7eae
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ int sanitize_tree(stralloc *dstree, char const *base, char const *tree,uid_t own
ssize_t r ;
size_t baselen = strlen(base) ;
size_t treelen = strlen(tree) ;
char dst[baselen + SS_SYSTEM_LEN + 1 + treelen + 1] ;
auto_string(dst,base,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