[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-225-gc079712

Service Account noreply at mpich.org
Tue Feb 23 13:08:12 CST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  c07971228507a036a32ff2c6fcf8b5fe29069c52 (commit)
      from  3410143edbaf193e34d4ecb583b6df43007fa06f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/c07971228507a036a32ff2c6fcf8b5fe29069c52

commit c07971228507a036a32ff2c6fcf8b5fe29069c52
Author: Yanfei Guo <yguo at anl.gov>
Date:   Tue Feb 23 13:05:49 2016 -0600

    test/mpi/spawn: fix invalid pointer bug
    
    Initialize pointer to NULL to prevent freeing invalid pointer in
    sub-processes.
    
    No reviewer.

diff --git a/test/mpi/spawn/taskmaster.c b/test/mpi/spawn/taskmaster.c
index 6259900..7d484d9 100644
--- a/test/mpi/spawn/taskmaster.c
+++ b/test/mpi/spawn/taskmaster.c
@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
     int provided;
     pthread_t *threads = NULL;
 #else
-    MPI_Comm *child;
+    MPI_Comm *child = NULL;
 #endif /* USE_THREADS */
     int can_spawn, errs = 0;
 

-----------------------------------------------------------------------

Summary of changes:
 test/mpi/spawn/taskmaster.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list