Skip to content

Commit f6c84cd

Browse files
authored
Merge pull request #9753 from jsquyres/pr/libnbc-send-ext-fix-ialltoallv
nbc_ialltoallv: fix uninitialized variable
2 parents c16fd23 + 1bcd577 commit f6c84cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mca/coll/libnbc/nbc_ialltoallv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* reserved.
1212
* Copyright (c) 2017 IBM Corporation. All rights reserved.
1313
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
14+
* Copyright (c) 2021 Cisco Systems, Inc. All rights reserved.
1415
* $COPYRIGHT$
1516
*
1617
* Additional copyrights may follow
@@ -90,6 +91,7 @@ static int nbc_alltoallv_init(const void* sendbuf, const int *sendcounts, const
9091

9192
sendcounts = recvcounts;
9293
sdispls = rdispls;
94+
sndext = rcvext;
9395
} else {
9496
res = ompi_datatype_type_extent (sendtype, &sndext);
9597
if (MPI_SUCCESS != res) {

0 commit comments

Comments
 (0)