From d2d6f0a8c6ae599078681f572be16802a71feb54 Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 22 Mar 2010 19:12:03 +0000 Subject: [PATCH] Zero out user opts to gvpr to protect against added fields. --- cmd/smyrna/gvprpipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/smyrna/gvprpipe.c b/cmd/smyrna/gvprpipe.c index ab1a2e4f3..70af10b20 100644 --- a/cmd/smyrna/gvprpipe.c +++ b/cmd/smyrna/gvprpipe.c @@ -99,6 +99,7 @@ int run_gvpr(Agraph_t * srcGraph, int argc, char *argv[]) gs[0] = srcGraph; gs[1] = 0; + memset (&opts, 0, sizeof(opts)); opts.ingraphs = gs; opts.out = outfn; opts.err = outfn; -- 2.40.0