Backport from upstream:
542fb0eadd
A double free vulnerability was discovered in cJSON_Delete function through
fuzzing. Fix it by set pointers to NULL immediately after they are deallocated.
Links: https://github.com/DaveGamble/cJSON/issues/833
Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
(cherry picked from commit 1243399bf7d1638e0f8a4943c4c553fba4964bfd)
cjson
Description
cJSON aims to be the dumbest possible parser that you can get your job done with. It's a single file of C, and a single header file.
Software Architecture
Software architecture description
Installation
- xxxx
- xxxx
- xxxx
Instructions
- xxxx
- xxxx
- xxxx
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Gitee Feature
- You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
- Gitee blog blog.gitee.com
- Explore open source project https://gitee.com/explore
- The most valuable open source project GVP
- The manual of Gitee https://gitee.com/help
- The most popular members https://gitee.com/gitee-stars/
Description
Languages
Diff
100%