summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch')
-rw-r--r--external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch b/external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch
deleted file mode 100644
index 5c3d6f73..00000000
--- a/external/poky/meta/recipes-devtools/file/file/CVE-2019-8904.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 94b7501f48e134e77716e7ebefc73d6bbe72ba55 Mon Sep 17 00:00:00 2001
-From: Christos Zoulas <christos@zoulas.com>
-Date: Mon, 18 Feb 2019 17:30:41 +0000
-Subject: [PATCH] PR/62: spinpx: Avoid non-nul-terminated string read.
-
-Upstream-Status: Backport
-CVE: CVE-2019-8904
-Affects < 5.36
-[Fixup for thud context]
-Signed-off-by: Armin Kuster <akuster@mvista.com>
-
----
- src/readelf.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-Index: git/src/readelf.c
-===================================================================
---- git.orig/src/readelf.c
-+++ git/src/readelf.c
-@@ -558,8 +558,8 @@ do_bid_note(struct magic_set *ms, unsign
- }
- if (namesz == 4 && strcmp((char *)&nbuf[noff], "Go") == 0 &&
- type == NT_GO_BUILD_ID && descsz < 128) {
-- if (file_printf(ms, ", Go BuildID=%s",
-- (char *)&nbuf[doff]) == -1)
-+ if (file_printf(ms, ", Go BuildID=%.*s",
-+ CAST(int, descsz), CAST(char *, &nbuf[doff])) == -1)
- return 1;
- return 1;
- }