summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-02-18 02:13:07 +0100
committerKarolin Seeger <kseeger@samba.org>2010-02-19 14:32:28 +0100
commitb9cc59ef4d30ca85e819f7bae13bccb5e3ef5b3e (patch)
treec090349d293208983d0e4eaac534d3a32d121200
parent8096297973d911f9736646a31773e38f79deadae (diff)
downloadsamba-b9cc59ef4d30ca85e819f7bae13bccb5e3ef5b3e.tar.gz
s3-modules: fix get_acl_blob in the acl_tdb VFS module.
Shuttle-reviewed by jra :) Guenther (cherry picked from commit 6cf10cc1020dd7ef483887caebcbd76d28572432) Fix bug #7148 (vfs_acl_tdb module uses uninitialized variable. Reading blob can fail.) (cherry picked from commit 61ea3d3f897f2b6c1b893e727f57ce079782572b)
-rw-r--r--source3/modules/vfs_acl_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c
index ac11a51b3bb..bfed0eb2b87 100644
--- a/source3/modules/vfs_acl_tdb.c
+++ b/source3/modules/vfs_acl_tdb.c
@@ -147,7 +147,7 @@ static NTSTATUS get_acl_blob(TALLOC_CTX *ctx,
TDB_DATA data;
struct file_id id;
struct db_context *db;
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_OK;
SMB_STRUCT_STAT sbuf;
SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context,