From 27115e2c940a7e9f37a5d62a5f780ebb3f67cc59 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Fri, 23 Sep 2011 11:46:06 -0700 Subject: [PATCH] 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 (cherry picked from commit ca8c25abebb8715176f68be9916217db9a8400dd) --- 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 bc06f0b..81c734a 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -252,7 +252,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]; -- 1.7.3.1