Skip to content

Conversation

sandboxcoder
Copy link
Contributor

@sandboxcoder sandboxcoder commented Sep 4, 2025

Description

Small code improvement to make sure we prevent memory buffer overrun

Motivation and Context

Resolves xcode warning in util-crashhandler. Guards crash handler against buffer overrun

How Has This Been Tested?

Verified this code change by testing function in isolation

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@sandboxcoder sandboxcoder marked this pull request as ready for review September 4, 2025 16:22
@sandboxcoder sandboxcoder changed the title change sprintf -> snprintf to prevent buffer overrun [mac crash handler] change sprintf -> snprintf to prevent buffer overrun Sep 5, 2025
@sandboxcoder sandboxcoder merged commit b501ae9 into staging Sep 5, 2025
13 of 15 checks passed
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