From ca8c25abebb8715176f68be9916217db9a8400dd Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Fri, 23 Sep 2011 11:46:06 -0700 Subject: Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded. Autobuild-User: Jeremy Allison Autobuild-Date: Fri Sep 23 22:20:55 CEST 2011 on sn-devel-104 --- source3/modules/vfs_acl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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]; -- cgit