From 38ccbf74b4d914d71c83ee11c8b3e7de04dc77ea Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Tue, 27 Sep 2011 17:46:29 -0700 Subject: [PATCH] Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded. --- 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 af4c41d..ecc889a 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -247,7 +247,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; uint8_t hash[XATTR_SD_HASH_SIZE]; -- 1.7.3.1