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
cJSON_Detach* functions are not working correctly when removing the last item in the list, leaving the item still partially in the object/array. This causes major problems if moving the object to another place in the tree.
It looks like cJSON_DetachItemViaPointer is not clearing parent->child->prev if the item is an array because item->next is NULL when it is the last item in the list.
cJSON_Detach*
functions are not working correctly when removing the last item in the list, leaving the item still partially in the object/array. This causes major problems if moving the object to another place in the tree.It looks like
cJSON_DetachItemViaPointer
is not clearingparent->child->prev
if the item is an array becauseitem->next
is NULL when it is the last item in the list.This may have been introduced by #430?
The text was updated successfully, but these errors were encountered: