Skip to content

Replace some of sprintf() with snprintf()#252

Merged
JeodC merged 1 commit intoDescentDevelopers:mainfrom
winterheart:sprintf-replace
May 1, 2024
Merged

Replace some of sprintf() with snprintf()#252
JeodC merged 1 commit intoDescentDevelopers:mainfrom
winterheart:sprintf-replace

Conversation

@winterheart
Copy link
Collaborator

Pull Request Type

  • GitHub Workflow changes
  • Documentation or Wiki changes
  • Build and Dependency changes
  • Runtime changes
    • Render changes
    • Audio changes
    • Input changes
    • Network changes
    • Other changes

Description

Replaced some of sprintf() (deprecated on macOS) with more secure snprintf().

Related Issues

Screenshots (if applicable)

Checklist

  • I have tested my changes locally and verified that they work as intended.
  • I have documented any new or modified functionality.
  • I have reviewed the changes to ensure they do not introduce any unnecessary complexity or duplicate code.
  • I understand that by submitting this pull request, I am agreeing to license my contributions under the project's license.

Additional Comments

Replaced some of sprintf() (deprecated on macOS) with more secure snprintf().
@MaddTheSane
Copy link
Contributor

Ah, I thought I missed some of them…

@JeodC JeodC merged commit 9abe6ac into DescentDevelopers:main May 1, 2024
@winterheart winterheart deleted the sprintf-replace branch May 1, 2024 10:30
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.

3 participants