Skip to content

Conversation

@hppritcha
Copy link
Member

Due to the conversion from ssize_t to int we were losing bytes, and
ended up writing outside the receiver buffer. Similarly on the send,
due to the conversion to a lesser type, we could missinterpret the
end of the fragment.

Fixes #2750

No corresponding PR for master. This was a direct-inject-into-master
commit.

(cherry picked from commit 999d497)

@hppritcha hppritcha added the bug label Jan 21, 2017
@hppritcha hppritcha added this to the v2.1.0 milestone Jan 21, 2017
@hppritcha hppritcha requested a review from jsquyres January 21, 2017 19:21
Due to the conversion from ssize_t to int we were losing bytes, and
ended up writing outside the receiver buffer. Similarly on the send,
due to the conversion to a lesser type, we could missinterpret the
end of the fragment.

Fixes open-mpi#2750

    Signed-off-by: Howard Pritchard <howardp@lanl.gov>
(cherry picked from commit 999d497)
@hppritcha hppritcha force-pushed the topic/fix_2750_for_v2.x branch from 1874ff3 to 8d50212 Compare January 21, 2017 21:15
Copy link
Member

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was already merged in v2.0.x.

@jsquyres jsquyres merged commit 09bd227 into open-mpi:v2.x Feb 6, 2017
@hppritcha hppritcha deleted the topic/fix_2750_for_v2.x branch May 2, 2018 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants