Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCX: do not dereference NULL pointer in wpmem_[free|flush] #8035

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

devreal
Copy link
Contributor

@devreal devreal commented Sep 4, 2020

Flushing or freeing a newly created dynamic window leads to NULL being passed to the wpmem functions.

Addresses part of what was reported in #6987. This allows at least to flush/free an empty dynamic window without Segfault. It's a bandaid, not a full fix, but I ran into this multiple times with some code that happens to create/flush/free empty dynamic windows so I need a fix for that at least.

Signed-off-by: Joseph Schuchart [email protected]

Flushing or freeing a newly created dynamic window causes NULL to be passed.

Signed-off-by: Joseph Schuchart <[email protected]>
@devreal devreal merged commit 43e3add into open-mpi:master Sep 4, 2020
Copy link
Contributor

@artpol84 artpol84 left a comment

Choose a reason for hiding this comment

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

Looks good!

@devreal devreal deleted the osc-ucx-fix-win-dynamic-segfault branch October 3, 2022 15:53
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.

4 participants