summaryrefslogtreecommitdiffstats
path: root/lib/tdb_wrap
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-12-15 20:22:36 +0100
committerJeremy Allison <jra@samba.org>2013-12-17 01:57:12 +0100
commit677056c55bc7e5c182ccb146955bb1314ed6a1d5 (patch)
tree5b97a7a0161b1c8d32b7f7dabe247eddea09ef67 /lib/tdb_wrap
parent92257ee41fd5d47b4248ae582bb48b71a13c7174 (diff)
downloadsamba-677056c55bc7e5c182ccb146955bb1314ed6a1d5.tar.gz
samba-677056c55bc7e5c182ccb146955bb1314ed6a1d5.tar.xz
samba-677056c55bc7e5c182ccb146955bb1314ed6a1d5.zip
tdb_util: Fix CID 1138343 Uninitialized scalar variable
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/tdb_wrap')
-rw-r--r--lib/tdb_wrap/tdb_wrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tdb_wrap/tdb_wrap.c b/lib/tdb_wrap/tdb_wrap.c
index 0f49be126c..c50c6e0034 100644
--- a/lib/tdb_wrap/tdb_wrap.c
+++ b/lib/tdb_wrap/tdb_wrap.c
@@ -120,6 +120,8 @@ static struct tdb_wrap_private *tdb_wrap_private_open(TALLOC_CTX *mem_ctx,
}
lctx.log_fn = tdb_wrap_log;
+ lctx.log_private = NULL;
+
result->tdb = tdb_open_ex(name, hash_size, tdb_flags,
open_flags, mode, &lctx, NULL);
if (result->tdb == NULL) {