1
1
openmpi/ompi/mpi
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
..
c communicator: Refine ompi_comm_set error check 2017-07-31 20:26:51 +09:00
cxx mpi/cxx: remove nonexistent function from cxx glue 2017-05-26 10:40:19 -06:00
fortran Merge pull request #3258 from markalle/pr/symbol_name_pollution 2017-07-12 16:19:25 -05:00
java java: Detect the path of javadoc in configure 2017-05-31 14:26:14 +09:00
man ompi: add support for new communicator info assertions 2017-06-08 15:52:12 -06:00
tool scripted symbol name change (ompi_ prefix) 2017-07-11 02:13:23 -04:00
help-mpi-api.txt Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
Makefile.am Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00