summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_afsacl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-05-04 22:01:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:54 -0500
commitf1d8c4da23049cf0115666f8d97dac251395de76 (patch)
treec230d4f8c2b27fefd2e612fb2392388102233111 /source3/modules/vfs_afsacl.c
parent32b9beb164a419b97f00811dbc7a0fb57e086690 (diff)
downloadsamba-f1d8c4da23049cf0115666f8d97dac251395de76.tar.gz
samba-f1d8c4da23049cf0115666f8d97dac251395de76.tar.bz2
samba-f1d8c4da23049cf0115666f8d97dac251395de76.zip
r22675: Simo's patch for 0 size allocation. Still need
to examine parse_misc.c fix. Jeremy. (This used to be commit 80d981265cd3bc9d73c5da3c514ec736e2dfa73a)
Diffstat (limited to 'source3/modules/vfs_afsacl.c')
-rw-r--r--source3/modules/vfs_afsacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_afsacl.c b/source3/modules/vfs_afsacl.c
index a82e6b350b..47e8ec5aef 100644
--- a/source3/modules/vfs_afsacl.c
+++ b/source3/modules/vfs_afsacl.c
@@ -616,7 +616,7 @@ static size_t afs_to_nt_acl(struct afs_acl *afs_acl,
uid_to_sid(&owner_sid, sbuf.st_uid);
gid_to_sid(&group_sid, sbuf.st_gid);
- if (num_aces) {
+ if (afs_acl->num_aces) {
nt_ace_list = TALLOC_ARRAY(mem_ctx, SEC_ACE, afs_acl->num_aces);
if (nt_ace_list == NULL)