summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/patch/patch_2.7.6.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2018-04-11 14:56:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-13 16:58:07 +0100
commit16174d9342f2c0ed376d8e797e8a7f04ed04f57c (patch)
treef4eef664d9675c7647d8e1cba79aa9923ad35786 /meta/recipes-devtools/patch/patch_2.7.6.bb
parent31714674e4dc9c1196553be7363c8a1d08565b4c (diff)
downloadpoky-16174d9342f2c0ed376d8e797e8a7f04ed04f57c.tar.gz
patch: fix CVE-2018-1000156
* CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-1000156 * upstream tracking: https://savannah.gnu.org/bugs/index.php?53566 * Fix arbitrary command execution in ed-style patches: - src/pch.c (do_ed_script): Write ed script to a temporary file instead of piping it to ed: this will cause ed to abort on invalid commands instead of rejecting them and carrying on. - tests/ed-style: New test case. - tests/Makefile.am (TESTS): Add test case. (From OE-Core rev: 6b6ae212837a07aaefd2b675b5b527fbce2a4270) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/patch/patch_2.7.6.bb')
-rw-r--r--meta/recipes-devtools/patch/patch_2.7.6.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/patch/patch_2.7.6.bb b/meta/recipes-devtools/patch/patch_2.7.6.bb
index 19ddf34981..823486dd0a 100644
--- a/meta/recipes-devtools/patch/patch_2.7.6.bb
+++ b/meta/recipes-devtools/patch/patch_2.7.6.bb
@@ -3,6 +3,8 @@ LICENSE = "GPLv3"
3 3
4SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ 4SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
5 file://0002-Fix-segfault-with-mangled-rename-patch.patch \ 5 file://0002-Fix-segfault-with-mangled-rename-patch.patch \
6 file://0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch \
7 file://0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch \
6" 8"
7 9
8SRC_URI[md5sum] = "4c68cee989d83c87b00a3860bcd05600" 10SRC_URI[md5sum] = "4c68cee989d83c87b00a3860bcd05600"