1
1
openmpi/ompi/mca/coll/ml
Nathan Hjelm c8b077f232 coll/ml: fix coverity issues
Fix CID 715744 (#1 of 1): Logically dead code (DEADCODE):
Fix CID 715745 (#1 of 1): Logically dead code (DEADCODE):

The free of scratch_num in either place is defensive programming. Instead of removing the free the conditional around the free has been removed to quiet the warning.

Fix CID 715753 (#1 of 1): Dereference after null check (FORWARD_NULL):
Fix CID 715778 (#1 of 1): Dereference before null check (REVERSE_INULL):

Fixed the conditional to check for collective_alg != NULL instead of collective_alg->functions != NULL.

Fix CID 715749 (#1 of 4): Explicit null dereferenced (FORWARD_NULL):

Updated code to ensure that none of the parse functions are reached with a non-NULL value.

Fix CID 715746 (#1 of 1): Logically dead code (DEADCODE):

Removed dead code.

Fix CID 715768 (#1 of 1): Resource leak (RESOURCE_LEAK):
Fix CID 715769 (#2 of 2): Resource leak (RESOURCE_LEAK):
Fix CID 715772 (#1 of 1): Resource leak (RESOURCE_LEAK):

Move free calls to before error checks to cleanup leak in error paths.

Fix CID 741334 (#1 of 1): Explicit null dereferenced (FORWARD_NULL):

Added a check to ensure temp is not dereferenced if it is NULL.

Fix CID 1196605 (#1 of 1): Bad bit shift operation (BAD_SHIFT):

Fixed overflow in calculation by replacing int mask with 1ul.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-03-18 10:11:16 -06:00
..
coll_ml_allgather.c coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
coll_ml_allocation.c ompi: fix coverity issues 2015-10-09 08:41:27 -06:00
coll_ml_allocation.h George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
coll_ml_allreduce.c coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
coll_ml_barrier.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_bcast.c Remove unnecessary \n's in ML_VERBOSE and ML_ERROR. 2014-03-18 12:24:32 +00:00
coll_ml_colls.h coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
coll_ml_component.c ompi: use C99 subobject naming for component initialization 2015-04-18 10:29:58 -06:00
coll_ml_config.c coll/ml: fix coverity issues 2016-03-18 10:11:16 -06:00
coll_ml_config.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_copy_fns.c coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
coll_ml_custom_utils.c MCA: Add the project/project version to the MCA base component 2015-03-27 10:59:04 -06:00
coll_ml_custom_utils.h Adding Hierarchical Collectives project to the Open MPI trunk. 2012-08-16 19:11:35 +00:00
coll_ml_descriptors.c coll/ml: fix leaks 2014-03-27 23:25:31 +00:00
coll_ml_functions.h coll/ml: add support for blocking and non-blocking allreduce, reduce, and 2014-01-22 15:39:19 +00:00
coll_ml_hier_algorithm_memsync_setup.c coll/ml: fix issues identified by the clang static analyser and fix 2014-04-16 22:43:35 +00:00
coll_ml_hier_algorithms_allgather_setup.c coll/ml: fix issues identified by the clang static analyser and fix 2014-04-16 22:43:35 +00:00
coll_ml_hier_algorithms_allreduce_setup.c coll/ml: fix issues identified by the clang static analyser and fix 2014-04-16 22:43:35 +00:00
coll_ml_hier_algorithms_barrier_setup.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_hier_algorithms_bcast_setup.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_hier_algorithms_common_setup.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_hier_algorithms_common_setup.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_hier_algorithms_reduce_setup.c coll/ml: fix issues identified by the clang static analyser and fix 2014-04-16 22:43:35 +00:00
coll_ml_hier_algorithms_setup.c coll/ml: fix coverity issues 2016-03-18 10:11:16 -06:00
coll_ml_hier_algorithms.c coll/ml: silence warnings (incorrect callback prototype) 2015-09-07 14:56:49 +09:00
coll_ml_inlines.h coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
coll_ml_lex.h add prototypes for lex destroy functions 2012-11-09 22:00:27 +00:00
coll_ml_lex.l Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_lmngr.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_lmngr.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_mca.c ML: Replace opal ignore with a zero priority 2015-09-04 11:28:47 -04:00
coll_ml_mca.h MCA/base: Add new MCA variable system 2013-03-27 21:09:41 +00:00
coll_ml_memsync.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_module.c coll/ml: fix coverity issues 2016-03-18 10:11:16 -06:00
coll_ml_payload_buffers.h Adding Hierarchical Collectives project to the Open MPI trunk. 2012-08-16 19:11:35 +00:00
coll_ml_progress.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml_reduce.c coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
coll_ml_resource_affinity.c Remove unnecessary \n's in ML_VERBOSE and ML_ERROR. 2014-03-18 12:24:32 +00:00
coll_ml_resource_affinity.h coll/ml: add support for blocking and non-blocking allreduce, reduce, and 2014-01-22 15:39:19 +00:00
coll_ml_select.c coll/ml: fix coverity issues 2016-03-18 10:11:16 -06:00
coll_ml_select.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
coll_ml.h coll/ml, bcol: fix prototypes (e.g. use the const modifier) 2015-09-11 13:20:44 +09:00
common_sym_whitelist.txt common syms: whitelist bison-generated common symbols 2016-01-16 03:53:14 -08:00
help-mpi-coll-ml.txt Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca-coll-ml.config Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00