From: Michael Adam Date: Mon, 4 Feb 2013 12:10:34 +0000 (+0100) Subject: s3:dbrwap_ctdb: ZERO_STRUCT(rec) just to be sure in traverse_persistent_callback_read() X-Git-Tag: tevent-0.9.18~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff65500f2b4f00dad25e342b51373f700d888c6b;p=thirdparty%2Fsamba.git s3:dbrwap_ctdb: ZERO_STRUCT(rec) just to be sure in traverse_persistent_callback_read() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 3ad7c60987e..a6f49b80c09 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;