Skip to content

Use snprintf() instead of strcat() to concat strings#105

Open
szsam wants to merge 1 commit into
alrevuelta:masterfrom
IVOES:cpp/unsafe-strcat
Open

Use snprintf() instead of strcat() to concat strings#105
szsam wants to merge 1 commit into
alrevuelta:masterfrom
IVOES:cpp/unsafe-strcat

Conversation

@szsam

@szsam szsam commented Jun 7, 2023

Copy link
Copy Markdown

snprintf() is both safer and more efficient than strcat() when concatenating many strings into one.

snprintf() is both safer and more efficient than strcat()
when concatenating many strings into one.
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.

1 participant