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_var_dump_color_keys: fix an array overflow #12030

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Oct 29, 2023

since opal_var_dump_color_keys is used with opal_argv_count() and friends, make sure is is long enough and NULL terminated

Thanks to Niv Shpak for reporting this and identifying the root cause.

Fixes #11826

Signed-off-by: Gilles Gouaillardet [email protected]
(cherry picked from commit 7b325e3)

since opal_var_dump_color_keys is used with opal_argv_count()
and friends, make sure is is long enough and NULL terminated

Thanks to Niv Shpak for reporting this and identifying the root cause.

Refs. open-mpi#11826

Signed-off-by: Gilles Gouaillardet <[email protected]>
(cherry picked from commit 7b325e3)
@jsquyres jsquyres added the bug label Oct 29, 2023
@github-actions github-actions bot added this to the v5.0.0 milestone Oct 29, 2023
@jsquyres jsquyres linked an issue Oct 29, 2023 that may be closed by this pull request
@jsquyres jsquyres modified the milestones: v5.0.0, v5.0.1 Oct 30, 2023
@janjust janjust merged commit 5325a7c into open-mpi:v5.0.x Nov 9, 2023
@jsquyres jsquyres deleted the pr/v5.0.x/fix-opal-params-core branch November 27, 2023 21:23
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.

Issues running OMPI with address sanitizer
3 participants