From ee2469ff17e79b9e3308b51701cb282fdd289f95 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 29 May 2010 18:16:12 +0100 Subject: [PATCH 1/1] fix zero overwrite --- statemc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statemc.c b/statemc.c index dea31a9..dda412d 100644 --- a/statemc.c +++ b/statemc.c @@ -251,7 +251,7 @@ static void notice_processed_counts(Counts *counts, int completed, RESULT_COUNTS(RCI_NOTHING, RCI_TRIPLE_VALS) ); - memset(&counts, 0, sizeof(*counts)); + memset(counts, 0, sizeof(*counts)); free(inprog); free(autodefer); -- 2.30.2