summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-02-04 13:10:34 +0100
committerMichael Adam <obnox@samba.org>2013-02-04 17:14:22 +0100
commitff65500f2b4f00dad25e342b51373f700d888c6b (patch)
tree1966ddf39e86f6fe8c4f8deafc472dc379b5ef11 /source3
parent394985454970e1eeb9b871bb359fa9f5edc9747b (diff)
downloadsamba-ff65500f2b4f00dad25e342b51373f700d888c6b.tar.gz
samba-ff65500f2b4f00dad25e342b51373f700d888c6b.tar.bz2
samba-ff65500f2b4f00dad25e342b51373f700d888c6b.zip
s3:dbrwap_ctdb: ZERO_STRUCT(rec) just to be sure in traverse_persistent_callback_read()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index 3ad7c60987..a6f49b80c0 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1430,6 +1430,7 @@ static int traverse_persistent_callback_read(TDB_CONTEXT *tdb, TDB_DATA kbuf, TD
return 0;
}
+ ZERO_STRUCT(rec);
rec.db = state->db;
rec.key = kbuf;
rec.value = dbuf;