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

Revert "Replace strcpy with strncpy, sprintf with snprintf" #389

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

Alanscut
Copy link
Collaborator

Reverts #388.
cJSON is written in ANSI C (C89) in order to support as many platforms and compilers as possible. But that old standard doesn't have the safe functions like strncpy, snprintf. Details in #286

@Alanscut Alanscut closed this Sep 21, 2019
@Alanscut Alanscut reopened this Sep 24, 2019
@Alanscut Alanscut merged commit 2de7d04 into master Sep 24, 2019
@Alanscut Alanscut deleted the revert-388-secure_c branch March 26, 2020 01:25
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