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

This was a direct-inject-into-master thing so there is no associated
PR for master

@jsquyres note the white-space cleanup mixing in this cherry-pick
was not my doing.

(cherry picked from commit 999d497)

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

This was a direct-inject-into-master thing so there is no associated
PR for master

(cherry picked from commit 999d497)
@hppritcha hppritcha added this to the v2.0.2 milestone Jan 20, 2017
@hppritcha hppritcha requested a review from jsquyres January 20, 2017 13:55
@hppritcha hppritcha added the bug label Jan 20, 2017
@jsquyres jsquyres merged commit 3ef2439 into open-mpi:v2.0.x Jan 23, 2017
@hppritcha hppritcha mentioned this pull request Jan 24, 2017
@hppritcha hppritcha deleted the topic/fix_2750_for_v2.0.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