Skip to content

Replace sprintf with snprintf#3714

Merged
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/spr
Oct 31, 2025
Merged

Replace sprintf with snprintf#3714
rhc54 merged 1 commit intoopenpmix:masterfrom
rhc54:topic/spr

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Oct 31, 2025

Per note in the OMPI project, at least one compiler family is removing the "sprintf" function. Replace all uses of that function with the safer "snprintf" version.

Per note in the OMPI project, at least one compiler family
is removing the "sprintf" function. Replace all uses of
that function with the safer "snprintf" version.

Signed-off-by: Ralph Castain <rhc@pmix.org>
@rhc54 rhc54 merged commit 1c63aea into openpmix:master Oct 31, 2025
26 checks passed
@rhc54 rhc54 deleted the topic/spr branch October 31, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant