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

version: use msnprintf instead of strncpy #13549

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented May 7, 2024

  • to ensure a terminating null byte
  • to avoid zero-padding the target

debug code only.

@bagder bagder added the tidy-up label May 7, 2024
- to ensure a terminating null byte
- to avoid zero-padding the target

debug code only
@bagder bagder force-pushed the bagder/strncpy-snprintf branch from 53b157a to 2fe89b5 Compare May 8, 2024 06:42
@bagder bagder changed the title lib: use msnprintf instead of strncpy version: use msnprintf instead of strncpy May 8, 2024
@bagder bagder closed this in 7c8970e May 8, 2024
@bagder bagder deleted the bagder/strncpy-snprintf branch May 8, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant