diff options
author | Andreas Schneider <asn@samba.org> | 2017-10-25 19:55:32 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2017-11-01 10:49:26 +0100 |
commit | 81047d00c909caec4211b60c8dd3a4c2e1118f49 (patch) | |
tree | 8c82edf71eee6ee6181a77d03175f3c52dee5f82 /source3/modules | |
parent | bdbbc80a2c54724f4b31a7a1e0d95d04fa42e88c (diff) | |
download | samba-81047d00c909caec4211b60c8dd3a4c2e1118f49.tar.gz |
s3:modules: Check correct variable for NULL in posixacl_xattr
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13101
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 27 04:54:22 CEST 2017 on sn-devel-144
(cherry picked from commit 327190893f5f3352a2e6abc4872b54092ee7de68)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/posixacl_xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/posixacl_xattr.c b/source3/modules/posixacl_xattr.c index 759d372facb..8f6f365bff9 100644 --- a/source3/modules/posixacl_xattr.c +++ b/source3/modules/posixacl_xattr.c @@ -384,7 +384,7 @@ SMB_ACL_T posixacl_xattr_acl_get_file(vfs_handle_struct *handle, TALLOC_CTX *frame = talloc_stackframe(); struct smb_filename *smb_fname_tmp = cp_smb_filename_nostream(frame, smb_fname); - if (smb_fname == NULL) { + if (smb_fname_tmp == NULL) { errno = ENOMEM; ret = -1; } else { |