Skip to content

version: use msnprintf instead of strncpy - #13549

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/strncpy-snprintf
Closed

version: use msnprintf instead of strncpy#13549
bagder wants to merge 1 commit into
masterfrom
bagder/strncpy-snprintf

Conversation

@bagder

@bagder bagder commented May 7, 2024

Copy link
Copy Markdown
Member
  • 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