-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cJSON_CreateIntArray(i_numbers, 0) causes a panic (IDFGH-5595) #7317
Comments
I think this is fixed in upstream cjson |
FYI: |
Do I need to update the cJSON library myself? Are you planning to replace the cJSON library included in esp-idf master with a new one? |
It's fixed by DaveGamble/cJSON@7b66457 , the esp-idf needs update. |
Thank you. I hope the libraries included in esp-idf master will be updated with new ones. |
Thanks for notifying on this. But it appears that cJSON never had release after |
@AxelLin Thanks for notifying. We will merge this soon. |
This update fixes NULL pointer dereference issues in previous release Closes #7317
This update fixes NULL pointer dereference issues in previous release Closes #7317
This update fixes NULL pointer dereference issues in previous release Closes #7317
This update fixes NULL pointer dereference issues in previous release Closes #7317
This update fixes NULL pointer dereference issues in previous release Closes #7317
Environment
Problem Description
cJSON_CreateIntArray(i_numbers, 1) don't causes a panic.
But cJSON_CreateIntArray(i_numbers, 0) causes a panic.
Expected Behavior
cJSON_CreateIntArray(i_numbers, 0) don't causes panic.
Actual Behavior
cJSON_CreateIntArray(i_numbers, 0) causes a panic.
My code
Workaround
I can't think of it.
The text was updated successfully, but these errors were encountered: