Skip to content

Conversation

@CaseyCarter
Copy link
Contributor

_snprintf doesn't terminate the buffer when the format result is overlong, which is just asking for trouble; snprintf always terminates. We should recommend the latter to sprintf users.

`_snprintf` doesn't terminate the buffer when the format result is overlong, which is just asking for trouble; `snprintf` always terminates. We should recommend the latter to `sprintf` users.
@prmerger-automator
Copy link
Contributor

@CaseyCarter : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 5210b63:

✅ Validation status: passed

File Status Preview URL Details
docs/c-runtime-library/reference/sprintf-sprintf-l-swprintf-swprintf-l-swprintf-l.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Casey!

@TylerMSFT
Copy link
Collaborator

#sign-off

@Court72 Court72 merged commit 16bb89d into MicrosoftDocs:main Apr 25, 2024
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.

3 participants