From cfcd63e044c66b22fcddcbd55df0c2316fe06051 Mon Sep 17 00:00:00 2001
From: Li Zhou
Date: Tue, 21 Apr 2020 16:18:04 +0800
Subject: git: Security Advisory - git - CVE-2020-5260
Backport patch from to solve CVE-2020-5260.
(From OE-Core rev: e4c3adbaae41147f921dde638b25911d1f5422e1)
Signed-off-by: Li Zhou
Signed-off-by: Anuj Mittal
Signed-off-by: Richard Purdie
---
meta/recipes-devtools/git/git.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'meta/recipes-devtools/git/git.inc')
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 6e137432f0..176423e972 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -7,7 +7,9 @@ DEPENDS = "openssl curl zlib expat"
PROVIDES_append_class-native = " git-replacement-native"
SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
- ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages"
+ ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages \
+ file://CVE-2020-5260.patch \
+ "
S = "${WORKDIR}/git-${PV}"
--
cgit v1.2.3-54-g00ecf