From ff65500f2b4f00dad25e342b51373f700d888c6b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 4 Feb 2013 13:10:34 +0100 Subject: s3:dbrwap_ctdb: ZERO_STRUCT(rec) just to be sure in traverse_persistent_callback_read() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/lib/dbwrap/dbwrap_ctdb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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; -- cgit