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

prov/ucx: Fix incorrect return value checking for fi_param_get() #10604

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

j-xiong
Copy link
Contributor

@j-xiong j-xiong commented Dec 4, 2024

When reading the two runtime parameters the condition for the actions was inverted by mistake.

When reading the two runtime parameters the condition for the actions
was inverted by mistake.

Signed-off-by: Jianxin Xiong <[email protected]>
In one code path, the request was not initialized before the callback
function is called. As a result, NULL cq was dereferenced, leading to
segfault.

Signed-off-by: Jianxin Xiong <[email protected]>
@j-xiong j-xiong merged commit 409c00d into ofiwg:main Dec 7, 2024
13 checks passed
@j-xiong j-xiong deleted the fix-ucx-param-get branch December 11, 2024 16:43
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.

2 participants