Fast JSON parsing library, a fork of json-c

Edit Package libfastjson
https://github.com/rsyslog/libfastjson

A fast JSON parsing library, a fork of json-c, developed by the rsyslog team
and used for rsyslog and liblognorm.

Refresh
Refresh
Source Files
Filename Size Changed
libfastjson-0.99.9.tar.gz 0000436502 426 KB
libfastjson.changes 0000003579 3.5 KB
libfastjson.spec 0000002490 2.43 KB
Revision 10 (latest revision is 12)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 870788 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 10)
- update to 0.99.9:
  - add API fjson_object_get_uint()
  - add API fjson_object_array_del_idx()
  - bugfix for dangling pointer that causes segfault
    The other functions assume that the memory is either set to NULL or a valid
    json object. The array_list_del_idx function only moves the elements, but
    does not set the pointer to null, which causes the same pointer to remain
    in the list (outside of arr->length). Then, when array_list_put_idx is
    called, the array_list_expand_internal leaps out, meaning that it has not
    set the indices outside of the requested length to 0. array_list_put_idx
    finds the pointer, tries to free it and a double free will be incurred,
    because the actual element is still in the list.
Comments 0
openSUSE Build Service is sponsored by