Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit a07074a

Browse files
committed
Merge pull request #774 from igor-ivanov/pr/yalla-valgrind
yalla: fix valgrind error due to uninitialized status field.
2 parents 758328e + 3ba07ed commit a07074a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ompi/mca/pml/yalla/pml_yalla_request.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ void mca_pml_yalla_init_reqs(void);
184184
(_mpi_status)->MPI_ERROR = OMPI_SUCCESS; \
185185
break; \
186186
case MXM_ERR_CANCELED: \
187+
(_mpi_status)->MPI_ERROR = OMPI_SUCCESS; \
187188
(_mpi_status)->_cancelled = true; \
188189
break; \
189190
case MXM_ERR_MESSAGE_TRUNCATED: \

oshmem/mca/spml/ikrit/spml_ikrit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ int mca_spml_ikrit_add_procs(oshmem_proc_t** procs, size_t nprocs)
410410
{
411411
spml_ikrit_mxm_ep_conn_info_t *ep_info = NULL;
412412
spml_ikrit_mxm_ep_conn_info_t *ep_hw_rdma_info = NULL;
413-
spml_ikrit_mxm_ep_conn_info_t my_ep_info;
413+
spml_ikrit_mxm_ep_conn_info_t my_ep_info = {0,};
414414
#if MXM_API < MXM_VERSION(2,0)
415415
mxm_conn_req_t *conn_reqs;
416416
int timeout;

0 commit comments

Comments
 (0)