summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/json-c/json-c_0.14.bb
diff options
context:
space:
mode:
authorLee Chee Yang <chee.yang.lee@intel.com>2020-07-02 16:51:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-03 11:37:20 +0100
commitaa88429fdd3554dace7cbfb5a2894b925a99deb4 (patch)
tree98e2b6f9c39c4ca1d0c3cc868bd1c3fc1bb1d10c /meta/recipes-devtools/json-c/json-c_0.14.bb
parent31e3d34c8a9c3e8481aa837aa0bf52adf095fe62 (diff)
downloadopenembedded-core-contrib-aa88429fdd3554dace7cbfb5a2894b925a99deb4.tar.gz
json-c: fix CVE-2020-12762
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/json-c/json-c_0.14.bb')
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.14.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/json-c/json-c_0.14.bb b/meta/recipes-devtools/json-c/json-c_0.14.bb
index 99fde873b1..1d501d1294 100644
--- a/meta/recipes-devtools/json-c/json-c_0.14.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.14.bb
@@ -4,7 +4,10 @@ HOMEPAGE = "https://github.com/json-c/json-c/wiki"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
-SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz"
+SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
+ file://CVE-2020-12762.patch \
+"
+
SRC_URI[sha256sum] = "b377de08c9b23ca3b37d9a9828107dff1de5ce208ff4ebb35005a794f30c6870"
UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"