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
I have had great success using JSONKit -- however today I was getting a crash in _JKDictionaryHashTableEntryForKey. As I dug in, it seems that dictionary->capacity was NULL, and the code was dying here:
I was using a 1.3 download, just moved up to 1.4, and manually added that
patch. Do you have a recommendation on using the latest vs. using the 1.4
download?
I have had great success using JSONKit -- however today I was getting a crash in _JKDictionaryHashTableEntryForKey. As I dug in, it seems that dictionary->capacity was NULL, and the code was dying here:
NSUInteger keyHash = CFHash(aKey), keyEntry = (keyHash % dictionary->capacity), idx = 0UL;
I added a NULL check immediately above:
if(!dictionary->capacity) { return(NULL); }
and now things seem to be going through.
Jack
The text was updated successfully, but these errors were encountered: