mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
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
This commit is contained in:
parent
5274beba4c
commit
327190893f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user