This repository was archived by the owner on Sep 30, 2022. It is now read-only.
Commit 4fc5138
committed
coll/libnbc: fix NBC_Copy for predefined datatypes
predefined datatypes such as MPI_LONG_DOUBLE_INT are not really contiguous,
so use span as returned by opal_datatype_span() instead of type extent,
otherwise data might be written above allocated memory.
Thanks Valentin Petrov for the report
(cherry picked from commit open-mpi/ompi@2969235)1 parent edb35d5 commit 4fc5138
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
| |||
493 | 492 | | |
494 | 493 | | |
495 | 494 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
| 495 | + | |
| 496 | + | |
501 | 497 | | |
502 | | - | |
| 498 | + | |
503 | 499 | | |
504 | 500 | | |
505 | 501 | | |
| |||
0 commit comments