diff options
author | David Disseldorp <ddiss@suse.de> | 2011-09-23 11:46:06 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-09-23 22:20:55 +0200 |
commit | ca8c25abebb8715176f68be9916217db9a8400dd (patch) | |
tree | 7479db40234dacbf3b982fb732b271139da2f174 /source3/modules | |
parent | 8119926b3a13e261018a3f7b09cae5baf3abd30a (diff) | |
download | samba-ca8c25abebb8715176f68be9916217db9a8400dd.tar.gz samba-ca8c25abebb8715176f68be9916217db9a8400dd.tar.bz2 samba-ca8c25abebb8715176f68be9916217db9a8400dd.zip |
Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Sep 23 22:20:55 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_acl_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index 9a1d13b118..2ed3cac216 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -253,7 +253,7 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, uint32_t security_info, struct security_descriptor **ppdesc) { - DATA_BLOB blob; + DATA_BLOB blob = data_blob_null; NTSTATUS status; uint16_t hash_type = XATTR_SD_HASH_TYPE_NONE; uint8_t hash[XATTR_SD_HASH_SIZE]; |