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

fix a possible dereference of null pointer #519

Merged
merged 1 commit into from Oct 16, 2020

Conversation

Alanscut
Copy link
Collaborator

fix #516

@Alanscut Alanscut merged commit a1e1c20 into DaveGamble:master Oct 16, 2020
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this pull request Sep 6, 2021
Fixes:
Fix potential core dumped for strrchr, see DaveGamble/cJSON#546
Fix null pointer crash in cJSON_CreateXxArray, see DaveGamble/cJSON#538
Fix several null pointer problems on allocation failure, see DaveGamble/cJSON#526
Fix a possible dereference of null pointer, see DaveGamble/cJSON#519
Fix windows build failure about defining nan, see DaveGamble/cJSON#518

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead pushed a commit to openembedded/meta-openembedded that referenced this pull request Sep 17, 2021
Fixes:
Fix potential core dumped for strrchr, see DaveGamble/cJSON#546
Fix null pointer crash in cJSON_CreateXxArray, see DaveGamble/cJSON#538
Fix several null pointer problems on allocation failure, see DaveGamble/cJSON#526
Fix a possible dereference of null pointer, see DaveGamble/cJSON#519
Fix windows build failure about defining nan, see DaveGamble/cJSON#518

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit fa00ac0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
@Alanscut Alanscut deleted the issue-516 branch October 22, 2021 08:17
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.

cJSON_Utils.c variable 'patch' is possible a dereference of null pointer
1 participant