summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-09-27 17:46:29 -0700
committerKarolin Seeger <kseeger@samba.org>2011-09-28 20:10:04 +0200
commit62b9ad45e27bb6a2af22aa9ee133ed6075abc62b (patch)
tree7091f8c0c73d74b4e3c54afacf40519e9d941e05
parent52e5c8002f1ccd417eaf56f0c1c9abb9d13bb7d6 (diff)
downloadsamba-62b9ad45e27bb6a2af22aa9ee133ed6075abc62b.tar.gz
samba-62b9ad45e27bb6a2af22aa9ee133ed6075abc62b.tar.xz
samba-62b9ad45e27bb6a2af22aa9ee133ed6075abc62b.zip
Fix bug 8480 - acl_xattr can free an invalid pointer if no blob is loaded.
-rw-r--r--source3/modules/vfs_acl_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index af4c41d9403..ecc889a60d6 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];