1
1
openmpi/ompi/communicator
KAWASHIMA Takahiro 3eac4b0c9a communicator: Refine ompi_comm_set error check
The `ompi_comm_set` function never sets `NULL` to its first argument
`ncomm`.  So `NULL` check is unnecessary in its callers. Furthermore,
`NULL` check may obscure a real return code when an error occurs
if the variable is initialized to a `NULL` value.

Also, `NULL` check is added in the `ompi_comm_set` function to
avoid segmentation fault in an out-of-memory condition.

Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
2017-07-31 20:26:51 +09:00
..
comm_cid.c ompi/comm: Improve MPI_Comm_create algorithm 2017-04-21 08:33:29 +07:00
comm_init.c ompi: add support for new communicator info assertions 2017-06-08 15:52:12 -06:00
comm_request.c communicator: Fix uninitialized variable 2017-01-24 16:46:13 -06:00
comm_request.h Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
comm.c communicator: Refine ompi_comm_set error check 2017-07-31 20:26:51 +09:00
communicator.h ompi: add support for new communicator info assertions 2017-06-08 15:52:12 -06:00
Makefile.am ompi: clean up topo helper functions 2017-07-17 10:30:42 -05:00