1
1
openmpi/ompi/mca/osc/rdma
Nathan Hjelm 974061c38f osc: fixed issues identified by coverity
Fix CID 1324733: Null pointer dereferences  (FORWARD_NULL)
Fix CID 1324734: Null pointer dereferences  (FORWARD_NULL)
Fix CID 1324735: Null pointer dereferences  (FORWARD_NULL)
Fix CID 1324736: Null pointer dereferences  (FORWARD_NULL)
Fix CID 1324737: Null pointer dereferences  (FORWARD_NULL)
Fix CID 1324751: Memory - illegal accesses  (USE_AFTER_FREE)
Fix CID 1324750: (USE_AFTER_FREE)
Fix CID 1324749: Memory - corruptions  (USE_AFTER_FREE)
Fix CID 1324748: Memory - illegal accesses  (USE_AFTER_FREE)
Fix CID 1324747: (USE_AFTER_FREE)
Fix CID 1324746: Memory - corruptions  (USE_AFTER_FREE)

Add missing return on an error path.

Fix CID 1324745: Code maintainability issues  (UNUSED_VALUE)

Ignore return code from barrier. It was not being used anyway.

Fix CID 1324738: Null pointer dereferences  (FORWARD_NULL)
Fix CID 1324741: Null pointer dereferences  (REVERSE_INULL)

module->selected_btl can not be NULL in osc/rdma during normal
operation. Removed the unnecessary NULL check.

Fix CID 1324752: Memory - illegal accesses  (USE_AFTER_FREE)

Move ompi_osc_pt2pt_module_lock_remove to before the lock is freed.

Fix CID 1324744: Uninitialized variables  (UNINIT)
Fix CID 1324743: Uninitialized variables  (UNINIT)

This array is not used unitialized but there is no reason not to use
calloc here to silence the warning.

The following CID is a false positive: 1324742. I will mark it such in
coverity.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-09-22 09:23:39 -06:00
..
configure.m4 osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
Makefile.am osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_accumulate.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_accumulate.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_active_target.c osc: fixed issues identified by coverity 2015-09-22 09:23:39 -06:00
osc_rdma_active_target.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_comm.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_comm.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_component.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_dynamic.c osc: fixed issues identified by coverity 2015-09-22 09:23:39 -06:00
osc_rdma_dynamic.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_frag.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_frag.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_lock.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_module.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_passive_target.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_passive_target.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_peer.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_peer.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_request.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_request.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_sync.c osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_sync.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma_types.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
osc_rdma.h osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00
owner.txt osc/rdma: add true RDMA one-sided component 2015-09-16 15:01:33 -06:00