cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

Ultralightweight JSON parser in ANSI C

Results 187 cJSON issues
Sort by recently updated
recently updated
newest added

During a recent fuzzing session aimed at identifying memory management vulnerabilities within the cJSON library, a double free issue was uncovered in the cJSON_Delete function. This vulnerability poses a significant...

Hey I tried your installation way but cmake.. doesn't work. Do you have a suggestion? ``` $ git clone https://github.com/DaveGamble/cJSON.git $ cd cJSON $ mkdir build $cmake.. -bash: cmake: Kommando...

This PR fixes a handful of typos and misspellings found by the CodeSpell utility, which lives at https://github.com/codepell-project/codespell Other than a single corrected test failure output string, there are no...

If the valuestring passed to cJSON_SetValuestring is NULL, a null pointer dereference will happen. This commit adds the NULL check of valuestring before it is dereferenced. fixes: #839

Hi, when fuzzing cJSON library, I found a segmentation fault happened in `cJSON_SetValuestring`. If the valuestring passed to `cJSON_SetValuestring` is `NULL`, a null pointer dereference will happen in the following...

The current generated cJSONConfig.cmake holds hard coded path of libraries. Use `CMakePackageConfigHelpers` and `@PACKAGE_INIT@` to make them suit for realy environment dynamically.

- v1.7.15 and following Hello, Please fix the following: ```diff diff --git a/CMakeLists.txt b/CMakeLists.txt index 7aecd98..4a42d92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -146,21 +146,21 @@ endif() configure_file("${CMAKE_CURRENT_SOURCE_DIR}/library_config/libcjson.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libcjson.pc" @ONLY) -install(FILES...

Hello team! I am using cJSON in combination with STM32/FreeRTOS to parse the JSONs that arrive from NFC NDEF data. And this is working most of the time, but sometimes...

When recently we integrated with the latest release of cJSON (v1.7.17), we noticed there's an regression with cJSON_Print() function when output the double numbers, the precesion is no longer the...