Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
feiyunwill
cJSON
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
cJSON
tests
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 12, 2026
fix: prevent NULL pointer dereference in cJSON_SetNumberHelper (#991)
Show description for b2890c8
PeterAlfredLee
authored
b2890c8
View commit details
Copy full SHA for b2890c8
View code at this point
Browse repository at this point
Commits on May 7, 2025
allocate memory for the temporary buffer
Show description for a328d65
PeterAlfredLee
authored and
Alanscut
committed
a328d65
View commit details
Copy full SHA for a328d65
View code at this point
Browse repository at this point
Commits on Sep 23, 2024
Added max recusrion depth for cJSONDuplicate to prevent stack exhaustion in case of circular reference
vwvw
authored and
Alanscut
committed
9d1b229
View commit details
Copy full SHA for 9d1b229
View code at this point
Browse repository at this point
Commits on Aug 30, 2024
Free mem in cjson_set_valuestring_should_return_null_if_strings_overlap
vwvw
authored and
Alanscut
committed
078c4e6
View commit details
Copy full SHA for 078c4e6
View code at this point
Browse repository at this point
CJSON_SetValuestring: better test for overlapping string
vwvw
authored and
Alanscut
committed
4f4d7f7
View commit details
Copy full SHA for 4f4d7f7
View code at this point
Browse repository at this point
CJSON_SetValuestring: add test for overlapping string
vwvw
authored and
Alanscut
committed
b47edc4
View commit details
Copy full SHA for b47edc4
View code at this point
Browse repository at this point
cJSON_DetachItemViaPointer: added test and fix for check for null in item->prev
vwvw
authored and
Alanscut
committed
a78d975
View commit details
Copy full SHA for a78d975
View code at this point
Browse repository at this point
Commits on Jun 19, 2024
Revert "feat: add tests for #842" to fix test failures
Show description for 424ce4c
Alanscut
committed
424ce4c
View commit details
Copy full SHA for 424ce4c
View code at this point
Browse repository at this point
Commits on May 14, 2024
Fix spelling errors found by CodeSpell. See https://github.com/codespell-project/codespell
Shaun Case
authored and
Alanscut
committed
3249730
View commit details
Copy full SHA for 3249730
View code at this point
Browse repository at this point
Commits on May 13, 2024
feat: add tests for #842
Show description for 5b502cd
Alanscut
committed
5b502cd
View commit details
Copy full SHA for 5b502cd
View code at this point
Browse repository at this point
Commits on May 6, 2024
Add test for heap buffer overflow
Show description for 826cd6f
orri
authored and
Alanscut
committed
826cd6f
View commit details
Copy full SHA for 826cd6f
View code at this point
Browse repository at this point
Commits on Apr 29, 2024
update comments and add tests for cJSON_SetValuestring
Alanscut
committed
19396a4
View commit details
Copy full SHA for 19396a4
View code at this point
Browse repository at this point
Commits on Dec 18, 2023
add NULL checkings (#809)
Show description for 60ff122
PeterAlfredLee
authored
60ff122
View commit details
Copy full SHA for 60ff122
View code at this point
Browse repository at this point
Commits on Jan 26, 2022
feat: add cJSON_SetBoolValue and test (#639)
Show description for a6424b8
sdrsdr
and
Alanscut
authored
a6424b8
View commit details
Copy full SHA for a6424b8
View code at this point
Browse repository at this point
Commits on Aug 25, 2021
Typos found by codespell (#607)
DimitriPapadopoulos
authored
7795249
View commit details
Copy full SHA for 7795249
View code at this point
Browse repository at this point
Commits on Nov 16, 2020
docs: fix simple typo, transfering -> transferring (#527)
Show description for 4100379
timgates42
authored
4100379
View commit details
Copy full SHA for 4100379
View code at this point
Browse repository at this point
Commits on Nov 12, 2020
fix several null pointer problems on allocation failure (#526)
mongobaba
authored
2f6fc7f
View commit details
Copy full SHA for 2f6fc7f
View code at this point
Browse repository at this point
Commits on May 6, 2020
array's item should be in the list
Alanscut
committed
1fc755a
View commit details
Copy full SHA for 1fc755a
View code at this point
Browse repository at this point
Commits on Apr 2, 2020
Merge pull request #454 from Alanscut/float-compare
Show description for 23e4fbc
Alanscut
authored
23e4fbc
View commit details
Copy full SHA for 23e4fbc
View code at this point
Browse repository at this point
Merge pull request #453 from Alanscut/add-return-value
Show description for 65578af
Alanscut
authored
65578af
View commit details
Copy full SHA for 65578af
View code at this point
Browse repository at this point
Merge pull request #451 from Alanscut/20200324
Show description for f12cd7b
Alanscut
authored
f12cd7b
View commit details
Copy full SHA for f12cd7b
View code at this point
Browse repository at this point
Add getNumberValue function
Show description for 97cf1d8
hqsz
and
Alanscut
committed
97cf1d8
View commit details
Copy full SHA for 97cf1d8
View code at this point
Browse repository at this point
Added cJSON_ParseWithLength (#358)
Show description for 983bb2b
2 people
authored and
Alanscut
committed
983bb2b
View commit details
Copy full SHA for 983bb2b
View code at this point
Browse repository at this point
update testcase, fixes #433
Alanscut
committed
4e114c1
View commit details
Copy full SHA for 4e114c1
View code at this point
Browse repository at this point
update testcase
Alanscut
committed
af56a14
View commit details
Copy full SHA for af56a14
View code at this point
Browse repository at this point
Commits on Apr 1, 2020
false has been redefined to cJSON_False
Alanscut
committed
bd7cbe9
View commit details
Copy full SHA for bd7cbe9
View code at this point
Browse repository at this point
Commits on Mar 26, 2020
add return value for cJSON_AddItemTo...
Alanscut
committed
54d6b80
View commit details
Copy full SHA for 54d6b80
View code at this point
Browse repository at this point
Commits on Mar 25, 2020
update cJSON_SetValuestring and testcase
Alanscut
committed
31c7880
View commit details
Copy full SHA for 31c7880
View code at this point
Browse repository at this point
Commits on Mar 24, 2020
add testcase for cJSON_SetValuestringToObject
Alanscut
committed
4790c3c
View commit details
Copy full SHA for 4790c3c
View code at this point
Browse repository at this point
Improve performance of adding item to array (#448)
Show description for 3ece4c8
Alanscut
authored
3ece4c8
View commit details
Copy full SHA for 3ece4c8
View code at this point
Browse repository at this point
Commits on Mar 18, 2020
fix encode_string_as_pointer
Alanscut
committed
d92c0de
View commit details
Copy full SHA for d92c0de
View code at this point
Browse repository at this point
Commits on Mar 16, 2020
Revert "use prev pointer when array do adding (#430)"
Show description for 9034a9c
Alan Wang
authored
9034a9c
View commit details
Copy full SHA for 9034a9c
View code at this point
Browse repository at this point
Commits on Feb 18, 2020
use prev pointer when array do adding (#430)
Show description for e8077d0
xiaomianhehe
authored
e8077d0
View commit details
Copy full SHA for e8077d0
View code at this point
Browse repository at this point
Commits on Dec 6, 2019
fix double comparison
Alanscut
committed
1f970e7
View commit details
Copy full SHA for 1f970e7
View code at this point
Browse repository at this point
Commits on Nov 28, 2019
fix issue#327
Alanscut
committed
446ff0d
View commit details
Copy full SHA for 446ff0d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.