1
1
George Bosilca a1b4e697f5 Prevent overflow when dealing with datatype count.
This patch fixes #7147 by preventing overflow when multiplying
the count and the blocklen. The count reflects MPI count and is
therefore bound to the size of an int (it is an uint32_t) while the
blocklen can be merged together to represent the largest contiguous
memory layout and it is therefore promoted to a size_t.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
(cherry picked from commit 59fb02618e75022e3cd137199e3d390757e3c7e0)
2020-01-07 15:13:14 -08:00
..
2018-10-16 15:28:20 -06:00
2018-11-21 11:48:58 -06:00
2019-12-19 12:30:40 -08:00
2017-09-19 19:42:54 -07:00
2018-09-21 14:47:11 -05:00
2017-08-03 09:18:58 -06:00
2015-06-23 20:59:57 -07:00