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

be careful with this stack framboise

parent 4516088a
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ int tree_get_permissions(char const *tree,uid_t owner)
{
ssize_t r ;
size_t treelen = strlen(tree) ;
char pack[256] ;
char pack[UID_FMT] ;
char tmp[treelen + SS_RULES_LEN + 1] ;
uint32_pack(pack,owner) ;
......
......@@ -34,7 +34,7 @@
int tree_switch_current(char const *base, char const *treename)
{
ssize_t r ;
char pack[256] ;
char pack[UID_FMT] ;
size_t baselen = strlen(base) ;
size_t treelen = strlen(treename) ;
size_t newlen ;
......
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