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

[v5.0.x] opal/mca: fix ompi_info segfault due to empty enumerator #12139

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

wenduwan
Copy link
Contributor

This patch fixes a segfault that the enumerator variable is not assigned in mca_base_var_enum_create_flag, leaving it as NULL. This causes invalid memory access later when it is iterated over.

Signed-off-by: Wenduo Wang [email protected]
(cherry picked from commit 8ac1ea9)

This patch fixes a segfault that the enumerator variable is not assigned in
mca_base_var_enum_create_flag, leaving it as NULL. This causes invalid memory
access later when it is iterated over.

Signed-off-by: Wenduo Wang <[email protected]>
(cherry picked from commit 8ac1ea9)
@github-actions github-actions bot added this to the v5.0.1 milestone Nov 29, 2023
@wenduwan wenduwan changed the title opal/mca: fix ompi_info segfault due to empty enumerator [v5.1.x] opal/mca: fix ompi_info segfault due to empty enumerator Nov 29, 2023
@jsquyres jsquyres marked this pull request as draft November 30, 2023 11:42
@wenduwan wenduwan marked this pull request as ready for review November 30, 2023 15:35
@wenduwan wenduwan added the bug label Nov 30, 2023
@wenduwan wenduwan changed the title [v5.1.x] opal/mca: fix ompi_info segfault due to empty enumerator [v5.0.x] opal/mca: fix ompi_info segfault due to empty enumerator Nov 30, 2023
@wenduwan wenduwan merged commit dcbea85 into open-mpi:v5.0.x Nov 30, 2023
16 checks passed
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