Merge pull request #762 from nysal/topic/mrecv
Fix an invalid memory access in mrecv & imrecv
Этот коммит содержится в:
Коммит
21dde0bd6e
@ -67,5 +67,5 @@ int MPI_Imrecv(void *buf, int count, MPI_Datatype type,
|
||||
OPAL_CR_ENTER_LIBRARY();
|
||||
|
||||
rc = MCA_PML_CALL(imrecv(buf, count, type, message, request));
|
||||
OMPI_ERRHANDLER_RETURN(rc, (*message)->comm, rc, FUNC_NAME);
|
||||
OMPI_ERRHANDLER_RETURN(rc, comm, rc, FUNC_NAME);
|
||||
}
|
||||
|
@ -75,5 +75,5 @@ int MPI_Mrecv(void *buf, int count, MPI_Datatype type,
|
||||
opal_memchecker_base_mem_undefined(&status->MPI_ERROR, sizeof(int));
|
||||
);
|
||||
|
||||
OMPI_ERRHANDLER_RETURN(rc, (*message)->comm, rc, FUNC_NAME);
|
||||
OMPI_ERRHANDLER_RETURN(rc, comm, rc, FUNC_NAME);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user