Skip to content

Improve string handling and null checks in cJSON.c#1031

Open
ZhaoYandong00 wants to merge 1 commit into
DaveGamble:masterfrom
ZhaoYandong00:patch-4
Open

Improve string handling and null checks in cJSON.c#1031
ZhaoYandong00 wants to merge 1 commit into
DaveGamble:masterfrom
ZhaoYandong00:patch-4

Conversation

@ZhaoYandong00
Copy link
Copy Markdown

Refactor string handling in cJSON.c to improve null checks and prevent overlapping string issues. Use the "strdup" function below to ensure success instead of returning NULL

Refactor string handling in cJSON.c to improve null checks and prevent overlapping string issues.
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