--- a/dav/finfo.c Sun Mar 17 18:11:31 2019 +0100 +++ b/dav/finfo.c Tue Mar 19 19:14:48 2019 +0100 @@ -174,6 +174,8 @@ attributes = calloc(1, sizeof(XAttributes)); attributes->hash = hash ? strdup(hash) : NULL; attributes->nattr = count; + attributes->names = calloc(count, sizeof(char*)); + attributes->values = calloc(count, sizeof(sstr_t)); int i=0; UCX_FOREACH(elm, names) { attributes->names[i] = elm->data;