handling hidden system archive file attributes

todo: still need to mask supported attributes while doing getattrs
This commit is contained in:
Olga Kornievskaia 2012-04-02 12:49:44 -04:00
parent 68d97f5400
commit 49580a8cfe
10 changed files with 81 additions and 17 deletions

View file

@ -482,7 +482,7 @@ static int handle_readdir(nfs41_upcall *upcall)
goto out;
}
entry_buf = malloc(max_buf_len);
entry_buf = calloc(max_buf_len, sizeof(unsigned char));
if (entry_buf == NULL) {
status = GetLastError();
goto out_free_cookie;