From 10c3b1075cd91b99c4f54075f860b9dbe176c529 Mon Sep 17 00:00:00 2001 From: Shane Snyder Date: Wed, 20 Jan 2016 22:21:28 -0600 Subject: [PATCH] bug fix in log aggregation tool --- darshan-util/darshan-stitch-logs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/darshan-util/darshan-stitch-logs.c b/darshan-util/darshan-stitch-logs.c index ea52124..fbcbd88 100644 --- a/darshan-util/darshan-stitch-logs.c +++ b/darshan-util/darshan-stitch-logs.c @@ -137,6 +137,7 @@ int build_mod_shared_rec_hash(glob_t *globbuf, darshan_module_id mod_id, darshan_log_close(in_fd); return(-1); } + memset(ref, 0, sizeof(*ref)); /* initialize the aggregate record with this rank's record */ agg_base = (struct darshan_base_record *)ref->agg_rec; -- 2.26.2