From 394985454970e1eeb9b871bb359fa9f5edc9747b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 4 Feb 2013 13:09:46 +0100 Subject: s3:dbwrap_ctdb: ZERO_STRUCT(rec) just to be sure in traverse_read_callback() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/lib/dbwrap/dbwrap_ctdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index ee800a89aa..3ad7c60987 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1402,6 +1402,8 @@ static void traverse_read_callback(TDB_DATA key, TDB_DATA data, void *private_da { struct traverse_state *state = (struct traverse_state *)private_data; struct db_record rec; + + ZERO_STRUCT(rec); rec.db = state->db; rec.key = key; rec.value = data; -- cgit