handling hidden system archive file attributes
todo: still need to mask supported attributes while doing getattrs
This commit is contained in:
parent
68d97f5400
commit
49580a8cfe
10 changed files with 81 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue