jansson: Backport fixes to bundled, use json_vsprintf if available.

Use json_vsprintf from versions which contain fix for va_copy leak.

Apply fixes from jansson master:
* va_copy leak fix.
* Avoid potential invalid memory read in json_pack.
* Rename variable that shadowed another.

Change-Id: I7522e462d2a52f53010ffa1e7d705c666ec35539
This commit is contained in:
Corey Farrell
2018-07-16 23:55:02 -04:00
parent 3ddfeccf35
commit ede59966d9
8 changed files with 182 additions and 34 deletions

View File

@@ -410,6 +410,9 @@
/* Define if your system has the JANSSON libraries. */
#undef HAVE_JANSSON
/* Define if your system has JANSSON_BUNDLED */
#undef HAVE_JANSSON_BUNDLED
/* Define to 1 if you have the `kevent64' function. */
#undef HAVE_KEVENT64