diff --git a/src/budb/procs.c b/src/budb/procs.c index f2987d3115..f976ff3aa3 100644 --- a/src/budb/procs.c +++ b/src/budb/procs.c @@ -424,6 +424,7 @@ FillDumpEntry(struct ubik_trans *ut, dbadr da, void *rock) struct budb_dumpEntry *dump = (struct budb_dumpEntry *)rock; struct dump d, ad; + memset(dump, 0, sizeof(*dump)); if (dbread(ut, da, &d, sizeof(d))) return BUDB_IO; dump->id = ntohl(d.id);