Commit Graph

  • 8f2beb57dd bump version of actions/upload-artifact master PeterAlfredLee 2025-04-21 18:14:45 +08:00
  • a328d65ad4 allocate memory for the temporary buffer PeterAlfredLee 2025-04-21 15:18:10 +08:00
  • 12c4bf1986 Wrong counter increment #763 Nicolas Badoux 2024-08-30 15:09:28 +02:00
  • 9d1b229086 Added max recusrion depth for cJSONDuplicate to prevent stack exhaustion in case of circular reference Nicolas Badoux 2024-08-30 13:36:22 +02:00
  • 078c4e6c53 Free mem in cjson_set_valuestring_should_return_null_if_strings_overlap Nicolas Badoux 2024-08-26 09:48:59 +02:00
  • 4f4d7f70c2 CJSON_SetValuestring: better test for overlapping string Nicolas Badoux 2024-08-25 23:06:21 +02:00
  • b47edc4750 CJSON_SetValuestring: add test for overlapping string Nicolas Badoux 2024-08-25 22:32:02 +02:00
  • d6d5449e1f fix #881, check overlap before calling strcpy in cJSON_SetValuestring Nicolas Badoux 2024-08-23 14:50:30 +00:00
  • a78d975537 cJSON_DetachItemViaPointer: added test and fix for check for null in item->prev Nicolas Badoux 2024-08-25 23:18:14 +02:00
  • f28a468e3b Check for NULL in cJSON_DetachItemViaPointer Nicolas Badoux 2024-08-23 14:14:10 +00:00
  • 424ce4ce96 Revert "feat: add tests for #842" to fix test failures Alanscut 2024-06-19 10:43:55 +08:00
  • 324973008c Fix spelling errors found by CodeSpell. See https://github.com/codespell-project/codespell Shaun Case 2024-03-29 10:55:41 -07:00
  • 8a334b0140 Fix indentation (should use spaces) DL6ER 2023-12-26 09:44:51 +01:00
  • acc76239be add contributors v1.7.18 Alanscut 2024-05-13 17:39:07 +08:00
  • 76be8fcf15 Release 1.7.18 Alanscut 2024-05-13 17:38:26 +08:00
  • 5b502cdbfb feat: add tests for #842 Alanscut 2024-05-09 10:45:16 +08:00
  • 542fb0eadd Set free'd pointers to NULL whenever they are not reassigned immediately after maebex 2024-03-30 10:42:22 +01:00
  • a20be7996d fix: remove misused optimization flag -01 Alanscut 2024-05-09 09:53:14 +08:00
  • 1ac905d3b2 Set free'd pointers to NULL whenever they are not reassigned immediately after develop maebex 2024-03-30 10:42:22 +01:00
  • 3ef4e4e730 Fix heap buffer overflow orri 2024-04-30 09:50:19 +00:00
  • 826cd6f842 Add test for heap buffer overflow orri 2024-04-30 09:46:17 +00:00
  • 98f9eb0412 Remove non-functional list handling of compiler flags orri 2024-04-30 08:18:17 +00:00
  • 19396a49a6 update comments and add tests for cJSON_SetValuestring Alanscut 2024-04-28 18:09:25 +08:00
  • 5671646e97 fix: fix incorrect name in security.md Alanscut 2024-04-28 09:53:34 +08:00
  • 66e9dff670 Create SECURITY.md Alan Wang 2024-04-26 16:58:00 +08:00
  • 7e4d5dabe7 Add NULL check to cJSON_SetValuestring() Up-wind 2024-03-25 20:07:11 +08:00
  • 87d8f0961a Release 1.7.17 v1.7.17 Alanscut 2023-12-26 10:07:05 +08:00
  • f66cbab4bf fix error in null checkings (#810) Lee 2023-12-20 11:05:23 +08:00
  • 60ff122ef5 add NULL checkings (#809) Lee 2023-12-18 11:47:52 +08:00
  • cb8693b058 Release 1.7.16 (#770) v1.7.16 Alan Wang 2023-07-05 11:22:19 +08:00
  • 545710e3bf upgrade clang to fix actions error (#768) Alan Wang 2023-07-04 17:02:03 +08:00
  • 543c28869e Add meson documentation (#761) MaxBrandtner 2023-07-03 03:35:30 +02:00
  • 766dd9d590 Fix a null pointer crash in cJSON_ReplaceItemViaPointer (#726) hopper-vul 2023-07-01 16:18:32 +08:00
  • b45f48e600 fix: add allocate check for replace_item_in_object (#675) Junbo Zheng 2022-03-29 15:02:59 +08:00
  • a6424b85dd feat: add cJSON_SetBoolValue and test (#639) Stoian Ivanov 2022-01-26 14:24:50 +02:00
  • 3cecc40466 docs: Fix README typo (#664) mohawk2 2022-01-26 12:23:33 +00:00
  • 2fc55f6793 chore: add CIFuzz integration (#437) Randy 2022-01-20 07:23:57 +01:00
  • c7025b093a chore: ignore all .dylib files (#628) Tony Langhammer 2022-01-20 07:17:46 +01:00
  • e7ebe77ebf fix: 'cjson_utils-static' target not exist(#625) 10km 2022-01-19 16:28:29 +08:00
  • 61eb84d991 add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt (#534) Andy 2022-01-19 14:45:02 +08:00
  • d321fa9e6e fix: print int without decimal places (#630) AlexanderVasiljev 2022-01-19 05:30:31 +03:00
  • 203a0dec6f chore: ignore *.lst/*.lss file (#623) Alan Wang 2021-10-22 16:21:55 +08:00
  • c77a688927 build: Bump cmake version and use new version syntax (#587) Joshua Arulsamy 2021-10-22 02:15:19 -06:00
  • e5dbaee131 docs: update comment (#622) Alan Wang 2021-10-22 16:09:45 +08:00
  • 189dcde644 fix: add cmake_policy to CMakeLists.txt (#613) SuperHuan 2021-10-22 16:02:06 +08:00
  • b9eff8b02a fix: for issue #569, now use the guard to turn it off (#617) Sayan Bandyopadhyay 2021-10-22 00:57:05 -07:00
  • f50dafc7d0 fix: potential memory leak in merge_patch() (#611) Alan Wang 2021-08-26 14:13:42 +08:00
  • d348621ca9 chore: update version and changelog (#610) v1.7.15 Alan Wang 2021-08-25 19:15:09 +08:00
  • 744e47353a fix: remove redundant condition (#605) Alan Wang 2021-08-25 15:02:00 +08:00
  • 7795249dd4 Typos found by codespell (#607) Dimitri Papadopoulos Orfanos 2021-08-25 10:01:12 +03:00
  • 324a6ac9a9 Update .gitattributes (#544) CoffeeTableEspresso 2020-12-30 21:38:10 -05:00
  • 6ea4c01e4e Fix potential core dumped for strrchr (#546) Alan Wang 2020-12-31 10:26:39 +08:00
  • 9226e4ed8c Remove always true condition in cJSON.c (#539) Jordan IMBERT 2020-12-17 10:07:18 +01:00
  • 7b6645794d Fix null pointer crash, closes #536 (#538) Alan Wang 2020-12-17 15:42:31 +08:00
  • 4100379a04 docs: fix simple typo, transfering -> transferring (#527) Tim Gates 2020-11-16 11:57:02 +11:00
  • 2f6fc7f0f2 fix several null pointer problems on allocation failure (#526) mongobaba 2020-11-12 11:46:15 +08:00
  • a1e1c208ff Merge pull request #519 from Alanscut/issue-516 Alan Wang 2020-10-16 17:12:54 +08:00
  • 9bf4960cd5 fix a possible dereference of null pointer #519 Alanscut 2020-10-16 17:06:29 +08:00
  • 488169faca Merge pull request #518 from fpnuseis/master Alan Wang 2020-10-16 16:52:10 +08:00
  • 9931900768 fix: windows build failure about defining nan #518 Use 2020-10-15 11:52:06 +09:00
  • d2735278ed Merge pull request #505 from Alanscut/release-1.7.14 v1.7.14 Alan Wang 2020-09-03 17:14:26 +08:00
  • 8e84db4c4e Update changelog and contributors #505 Alanscut 2020-09-03 17:11:02 +08:00
  • 8e357f825b Update version to 1.7.14 Alanscut 2020-09-03 17:07:49 +08:00
  • 2e5171d8d6 Merge pull request #503 from Alanscut/issue499 Alan Wang 2020-09-03 11:51:54 +08:00
  • c8ca78a3cc optimize the way to find tail node #503 Alanscut 2020-09-02 20:23:52 +08:00
  • 0b13220419 Merge pull request #502 from Alanscut/nan Alan Wang 2020-08-27 20:48:25 +08:00
  • 23f027139e remove float-divide-by-zero for supporting NAN #502 Alanscut 2020-08-27 20:46:00 +08:00
  • 60c3b0a571 Merge pull request #501 from Alanscut/actions Alan Wang 2020-08-27 20:28:06 +08:00
  • 857c037ccc add github actions CI #501 Alanscut 2020-08-27 20:26:04 +08:00
  • 3fb9d929e1 Merge pull request #484 from sappo/master Alan Wang 2020-08-21 21:30:19 +08:00
  • cf97c6f066 Merge pull request #485 from HuKeping/fix-git-archive Alan Wang 2020-06-27 16:13:52 +08:00
  • 1ef4deec06 Remove unnecessary files in release tarball #485 h00283522 2020-06-26 10:37:00 +08:00
  • 4578d3a9e1 Problem: WError error on macosx because NAN is a float #484 Kevin Sapper 2020-06-23 09:16:26 +02:00
  • b95a4c56b0 fix #376 Alanscut 2020-06-22 11:23:24 +08:00
  • 7db005e028 Merge pull request #472 from Alanscut/parse-array Alan Wang 2020-05-06 17:34:15 +08:00
  • 1fc755ac09 array's item should be in the list #472 Alanscut 2020-05-06 17:18:42 +08:00
  • a82449fa3e Merge pull request #456 from miaoerduo/master Alan Wang 2020-05-06 17:07:33 +08:00
  • 2a6299d904 Merge pull request #469 from moorthy-bs/master Alan Wang 2020-05-05 11:34:23 +08:00
  • 43f471bff1 Merge pull request #465 from Summus-git/fix_make_install_config Alan Wang 2020-05-05 11:31:39 +08:00
  • 7103844037 pkgconfig: cjson include dir added #469 Moorthy 2020-04-30 16:13:44 +05:30
  • 3442b36672 Fix make.sh install unwanted config files #465 Romain Lesteven 2020-04-17 12:01:39 +02:00
  • cb4661cd91 fix: errors in replacing the first item when array_size is 1, and replacing the last item #456 miaoerduo 2020-04-03 14:47:49 +08:00
  • a65abf2f4f fix: error list head's prev when detach the last item miaoerduo 2020-04-03 14:07:22 +08:00
  • 3999b12848 feat: set list head's prev in parse_array and parse_object miaoerduo 2020-04-03 11:52:54 +08:00
  • 39853e5148 Update changelog v1.7.13 Alanscut 2020-04-02 23:35:50 +08:00
  • ff0dabc72e Update version to 1.7.13 Alanscut 2020-04-02 23:34:28 +08:00
  • 5d55c6c2ee fix error C2124 in visual studio Alanscut 2020-04-02 23:32:30 +08:00
  • 23e4fbc639 Merge pull request #454 from Alanscut/float-compare Alan Wang 2020-04-02 20:09:42 +08:00
  • 65578af8cc Merge pull request #453 from Alanscut/add-return-value Alan Wang 2020-04-02 19:41:56 +08:00
  • f12cd7b701 Merge pull request #451 from Alanscut/20200324 Alan Wang 2020-04-02 19:40:03 +08:00
  • 97cf1d84e4 Add getNumberValue function Sang-Heon Jeon 2020-04-02 18:06:56 +09:00
  • 983bb2b4d6 Added cJSON_ParseWithLength (#358) caglarivriz 2020-04-02 11:59:19 +03:00
  • 5437b79086 Add getNumberValue function Sang-Heon Jeon 2020-04-02 18:06:56 +09:00
  • 2371b7bc66 Added cJSON_ParseWithLength (#358) caglarivriz 2020-04-02 11:59:19 +03:00
  • 4e114c1f31 update testcase, fixes #433 #454 Alanscut 2020-04-02 16:24:10 +08:00
  • 8943c73345 comparing double value with DBL_EPSILON Alanscut 2020-04-02 16:02:24 +08:00
  • af56a146fd update testcase #453 Alanscut 2020-04-02 11:06:47 +08:00
  • 131966f748 add return value for cJSON_ReplaceItemxxx Alanscut 2020-04-02 09:11:36 +08:00
  • bd7cbe9776 false has been redefined to cJSON_False Alanscut 2020-04-01 19:19:00 +08:00
  • 54d6b8016e add return value for cJSON_AddItemTo... Alanscut 2020-03-26 14:18:52 +08:00