jansson/test/suites
Corey Farrell e262ea5fcd
Remove inappropriate jsonp_free which caused segmentation fault.
pack_string should never free str on error.  This wouldn't be a problem
except the check for `ours` was inverted.  Just remove the check for
ours since the true condition is unreachable.

json_vpack_ex also had an error check for s.has_error.  This can never
be true unless value is NULL.

Expand pack_unpack testing to cover empty format string, NULL object
value with non-null concatenated key, array containing a non-null object
after a NULL (error) string.

Fixes #444
2018-11-05 16:49:22 -05:00
..
api Remove inappropriate jsonp_free which caused segmentation fault. 2018-11-05 16:49:22 -05:00
encoding-flags Update copyrights for 2016 2016-09-18 14:17:03 +03:00
invalid Update copyrights for 2016 2016-09-18 14:17:03 +03:00
invalid-unicode Update copyrights for 2016 2016-09-18 14:17:03 +03:00
valid Update copyrights for 2016 2016-09-18 14:17:03 +03:00
.gitattributes Always use LF as line ending so that we don't get any problems with line 2013-03-07 16:12:07 +01:00
Makefile.am Remove invalid subdirs from test/suites/Makefile.am 2011-02-25 21:09:04 +02:00