json-c

Edit Package json-c
No description set
Refresh
Refresh
Source Files
Filename Size Changed
baselibs.conf 0000000011 11 Bytes
fix-set-but-not-used.patch 0000000876 876 Bytes
gcc7-fix.patch 0000002257 2.2 KB
json-c-0.12.1.tar.gz 0000535086 523 KB
json-c-0.16-20220414.tar.gz 0000337024 329 KB
json-c.changes 0000018684 18.2 KB
json-c.spec 0000004326 4.22 KB
Latest Revision
James Pearson's avatar James Pearson (vicidial) committed (revision 2)
- Update to 0.16 from devel:libraries:c_c++ as baseline 

- Update to 0.16:
  + Deprecated and removed features:
    * JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of
      JSON_C_OBJECT_ADD_CONSTANT_KEY
    * Direct access to lh_table and lh_entry structure members is deprecated.  
      Use access functions instead, lh_table_head(), lh_entry_next(), etc...
    * Drop REFCOUNT_DEBUG code.
  + Changes and bug fixes
    * Cap string length at INT_MAX to avoid various issues with very long strings.
    * json_object_deep_copy: fix deep copy of strings containing '\0'
    * Fix read past end of buffer in the "json_parse" command
    * Avoid out of memory accesses in the locally provided vasprintf() function
      (for those platforms that use it)
    * Handle allocation failure in json_tokener_new_ex
    * Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL
    * printbuf_memset(): set gaps to zero - areas within the print buffer which
      have not been initialized by using printbuf_memset
    * printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX)
    * sprintbuf(): propagate printbuf_memappend errors back to the caller
    * Validate size arguments in arraylist functions.
    * Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c
      very early during boot, such as part of cryptsetup.
    * Use arc4random() if it's available.
    * random_seed: on error, continue to next method instead of exiting the process
    * Close file when unable to read from /dev/urandom in get_dev_random_seed()
    * Speed up parsing by replacing ctype functions with simplified, faster 
      non-locale-sensitive ones in json_tokener and json_object_to_json_string.
    * Neither vertical tab nor formfeed are considered whitespace per the JSON spec
Comments 0
openSUSE Build Service is sponsored by