Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit ac94b5c9 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Improperly sized array.

I've been running into a horribly nasty crash that has been happening
in places like MPI and malloc.  After recently inserting some memory
debugging code, I discovered an inappropriately sized array.  Hopefully
this will clear everything up.
parent 3d56ddff
......@@ -352,7 +352,7 @@ static IceTCommRequest *radixkPostSends(radixkPartnerInfo *partners,
piece_offsets = icetGetStateBuffer(RADIXK_SPLIT_OFFSET_ARRAY_BUFFER,
current_k * sizeof(IceTInt));
image_pieces = icetGetStateBuffer(RADIXK_SPLIT_IMAGE_ARRAY_BUFFER,
current_k * sizeof(IceTSizeType));
current_k * sizeof(IceTSparseImage));
for (i = 0; i < current_k; i++) {
image_pieces[i] = partners[i].sendImage;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment