From 62fb9edd574e4a3d42b7db14fc5fef25a7677d11 Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" <morrone2@llnl.gov> Date: Wed, 13 Sep 2006 19:00:13 +0000 Subject: [PATCH] Initialize the entire launch structure. --- src/api/step_launch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/step_launch.c b/src/api/step_launch.c index 8743c872038..332dc4c380c 100644 --- a/src/api/step_launch.c +++ b/src/api/step_launch.c @@ -134,6 +134,8 @@ int slurm_step_launch (slurm_step_ctx ctx, char **env = NULL; debug("Entering slurm_step_launch"); + memset(&launch, 0, sizeof(launch)); + if (ctx == NULL || ctx->magic != STEP_CTX_MAGIC) { error("Not a valid slurm_step_ctx!"); -- GitLab