diff -r 07b815faa6ac -r f00d03835dd9 src/server/safs/pathcheck.c --- a/src/server/safs/pathcheck.c Tue Dec 30 21:44:49 2025 +0100 +++ b/src/server/safs/pathcheck.c Tue Jan 13 18:09:20 2026 +0100 @@ -78,7 +78,7 @@ uint32_t access_mask = 0; cxstring *rights = NULL; - ssize_t n = cx_strsplit_a(pool_allocator(sn->pool), cx_str(mask_str), (cxstring){",", 1}, PATHCHECK_MAX_TOKENS, &rights); + ssize_t n = cx_strsplit_a(pool_allocator(sn->pool), cx_str(mask_str), ",", PATHCHECK_MAX_TOKENS, &rights); for(int i=0;ipool), cx_str(inames), (cxstring)CX_STR(","), PATHCHECK_MAX_TOKENS, &names); + ssize_t ni = cx_strsplit_a(pool_allocator(sn->pool), cx_str(inames), ",", PATHCHECK_MAX_TOKENS, &names); if(ni <= 0) { log_ereport( LOG_MISCONFIG, @@ -161,7 +161,7 @@ cxstring p = cx_strn(path, pathlen); if(path[pathlen-1] == '/') { for(int i=0;i