diff options
-rw-r--r-- | source3/smbd/posix_acls.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 01d429f235..3b9be9d872 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -4738,7 +4738,10 @@ int posix_sys_acl_blob_get_file(vfs_handle_struct *handle, { int ret; TALLOC_CTX *frame = talloc_stackframe(); - struct smb_acl_wrapper acl_wrapper = {}; + /* Initialise this to zero, in a portable way */ + struct smb_acl_wrapper acl_wrapper = { + NULL + }; struct smb_filename *smb_fname; smb_fname = synthetic_smb_fname_split(frame, path_p, NULL); |