git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tdb_util: Fix CID 1138343 Uninitialized scalar variable
[sfrench/samba-autobuild/.git]
/
lib
/
tdb_wrap
/
tdb_wrap.c
diff --git
a/lib/tdb_wrap/tdb_wrap.c
b/lib/tdb_wrap/tdb_wrap.c
index 0f49be126cb5ade8c69423705d660edab8d1522d..c50c6e0034367fdc67e8e4131f4cfc74329af9c6 100644
(file)
--- 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) {