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
cJSON.c
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 Feb 25, 2026
Fix: add depth check to prevent stack overflow in cJSON_Print (#984)
liloler
authored
5cc0e39
View commit details
Copy full SHA for 5cc0e39
View code at this point
Browse repository at this point
Commits on Sep 9, 2025
Release 1.7.19 (#958)
Alanscut
authored
c859b25
View commit details
Copy full SHA for c859b25
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
Wrong counter increment
vwvw
authored and
Alanscut
committed
12c4bf1
View commit details
Copy full SHA for 12c4bf1
View code at this point
Browse repository at this point
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
fix #881, check overlap before calling strcpy in cJSON_SetValuestring
vwvw
authored and
Alanscut
committed
d6d5449
View commit details
Copy full SHA for d6d5449
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
Check for NULL in cJSON_DetachItemViaPointer
vwvw
authored and
Alanscut
committed
f28a468
View commit details
Copy full SHA for f28a468
View code at this point
Browse repository at this point
Commits on May 14, 2024
Fix indentation (should use spaces)
Show description for 8a334b0
DL6ER
authored and
Alanscut
committed
8a334b0
View commit details
Copy full SHA for 8a334b0
View code at this point
Browse repository at this point
Commits on May 13, 2024
Release 1.7.18
Alanscut
committed
76be8fc
View commit details
Copy full SHA for 76be8fc
View code at this point
Browse repository at this point
Set free'd pointers to NULL whenever they are not reassigned immediately after
maebex
authored and
Alanscut
committed
542fb0e
View commit details
Copy full SHA for 542fb0e
View code at this point
Browse repository at this point
Commits on May 6, 2024
Fix heap buffer overflow
Show description for 3ef4e4e
orri
authored and
Alanscut
committed
3ef4e4e
View commit details
Copy full SHA for 3ef4e4e
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 Apr 26, 2024
Add NULL check to cJSON_SetValuestring()
Show description for 7e4d5da
Up-wind
authored and
Alanscut
committed
7e4d5da
View commit details
Copy full SHA for 7e4d5da
View code at this point
Browse repository at this point
Commits on Dec 26, 2023
Release 1.7.17
Show description for 87d8f09
Alanscut
committed
87d8f09
View commit details
Copy full SHA for 87d8f09
View code at this point
Browse repository at this point
Commits on Dec 20, 2023
fix error in null checkings (#810)
Show description for f66cbab
PeterAlfredLee
authored
f66cbab
View commit details
Copy full SHA for f66cbab
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 Jul 5, 2023
Release 1.7.16 (#770)
Show description for cb8693b
Alanscut
authored
cb8693b
View commit details
Copy full SHA for cb8693b
View code at this point
Browse repository at this point
Commits on Jul 1, 2023
Fix a null pointer crash in cJSON_ReplaceItemViaPointer (#726)
Show description for 766dd9d
hopper-vul
authored
766dd9d
View commit details
Copy full SHA for 766dd9d
View code at this point
Browse repository at this point
Commits on Mar 29, 2022
fix: add allocate check for replace_item_in_object (#675)
Show description for b45f48e
Junbo-Zheng
authored
b45f48e
View commit details
Copy full SHA for b45f48e
View code at this point
Browse repository at this point
Commits on Jan 19, 2022
fix: print int without decimal places (#630)
AlexanderVasiljev
authored
d321fa9
View commit details
Copy full SHA for d321fa9
View code at this point
Browse repository at this point
Commits on Aug 25, 2021
chore: update version and changelog (#610)
Alan Wang
authored
d348621
View commit details
Copy full SHA for d348621
View code at this point
Browse repository at this point
fix: remove redundant condition (#605)
Alan Wang
authored
744e473
View commit details
Copy full SHA for 744e473
View code at this point
Browse repository at this point
Commits on Dec 17, 2020
Remove always true condition in cJSON.c (#539)
ecrin4102
authored
9226e4e
View commit details
Copy full SHA for 9226e4e
View code at this point
Browse repository at this point
Fix null pointer crash, closes #536 (#538)
Alanscut
authored
7b66457
View commit details
Copy full SHA for 7b66457
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 Oct 15, 2020
fix: windows build failure about defining nan
fpnuseis
committed
9931900
View commit details
Copy full SHA for 9931900
View code at this point
Browse repository at this point
Commits on Sep 3, 2020
Update version to 1.7.14
Alanscut
committed
8e357f8
View commit details
Copy full SHA for 8e357f8
View code at this point
Browse repository at this point
Commits on Sep 2, 2020
optimize the way to find tail node
Alanscut
committed
c8ca78a
View commit details
Copy full SHA for c8ca78a
View code at this point
Browse repository at this point
Commits on Jun 23, 2020
Problem: WError error on macosx because NAN is a float
Show description for 4578d3a
sappo
committed
4578d3a
View commit details
Copy full SHA for 4578d3a
View code at this point
Browse repository at this point
Commits on Jun 22, 2020
fix #376
Alanscut
committed
b95a4c5
View commit details
Copy full SHA for b95a4c5
View code at this point
Browse repository at this point
Commits on Apr 3, 2020
fix: errors in replacing the first item when array_size is 1, and replacing the last item
miaoerduo
authored and
zhaoyu
committed
cb4661c
View commit details
Copy full SHA for cb4661c
View code at this point
Browse repository at this point
fix: error list head's prev when detach the last item
miaoerduo
authored and
zhaoyu
committed
a65abf2
View commit details
Copy full SHA for a65abf2
View code at this point
Browse repository at this point
feat: set list head's prev in parse_array and parse_object
miaoerduo
authored and
zhaoyu
committed
3999b12
View commit details
Copy full SHA for 3999b12
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.