libjson-c: backport security fixes
This backports upstream fixes for the out of bounds write vulnerability in json-c.
It was reported and patches in this upstream PR: https://github.com/json-c/json-c/pull/592
Addresses CVE-2020-12762
Signed-off-by: Robert Marko <[email protected]>
Signed-off-by: Luka Perkov <[email protected]>
[bump PKG_RELEASE, rebase patches on top of json-c 0.12]
Signed-off-by: Jo-Philipp Wich <[email protected]>
(backported from commit
bc0288b76816578f5aeccb2abd679f82bfc5738e)