Created attachment 502327 [details]
Description of problem:
function json_tokener_parse() returns odd value when input is something other then json.
json_object_object_get (jso=0xfffffffffffffffc, key=0x400b6c "num_items") at json_object.c:272
272 return (struct json_object*) lh_table_lookup(jso->o.c_object, key);
Version-Release number of selected component (if applicable):
json-c-0.9-1.el6.x86_64 (it's from epel, but its same package)
I've created a reproducer. See attachments
Steps to Reproduce:
not sigsegv and return NULL
Contacted upstream about the issue.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.