jansson: Backport fixes to bundled, use json_vsprintf if available.
authorCorey Farrell <git@cfware.com>
Tue, 17 Jul 2018 03:55:02 +0000 (23:55 -0400)
committerCorey Farrell <git@cfware.com>
Mon, 24 Sep 2018 23:00:26 +0000 (18:00 -0500)
commitadf539b2f0297ba54900b19e3a663011eeb76dfa
tree1bb40fce851c0077a9c83c57b66b25f925a24d98
parent6e1cf9de6b6f9283fea508469858aad7a3d3124e
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
configure
include/asterisk/autoconfig.h.in
main/json.c
menuselect/configure
third-party/jansson/configure.m4
third-party/jansson/patches/0022-Avoid-invalid-memory-read-in-json_pack.patch [new file with mode: 0644]
third-party/jansson/patches/0025-Call-va_end-after-va_copy-in-json_vsprintf.patch [new file with mode: 0644]
third-party/jansson/patches/0027-Rename-a-varialble-that-shadows-another-one.patch [new file with mode: 0644]