All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexander Kanavin" <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [PATCH 43/48] python3: update 3.9.0 -> 3.9.1
Date: Sat, 26 Dec 2020 10:27:27 +0100	[thread overview]
Message-ID: <20201226092732.52323-43-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20201226092732.52323-1-alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 .../python/python3/CVE-2020-27619.patch       | 69 -------------------
 .../{python3_3.9.0.bb => python3_3.9.1.bb}    |  4 +-
 2 files changed, 1 insertion(+), 72 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3/CVE-2020-27619.patch
 rename meta/recipes-devtools/python/{python3_3.9.0.bb => python3_3.9.1.bb} (99%)

diff --git a/meta/recipes-devtools/python/python3/CVE-2020-27619.patch b/meta/recipes-devtools/python/python3/CVE-2020-27619.patch
deleted file mode 100644
index b2053e7a47..0000000000
--- a/meta/recipes-devtools/python/python3/CVE-2020-27619.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From b664a1df4ee71d3760ab937653b10997081b1794 Mon Sep 17 00:00:00 2001
-From: "Miss Skeleton (bot)" <31488909+miss-islington@users.noreply.github.com>
-Date: Tue, 6 Oct 2020 05:37:36 -0700
-Subject: [PATCH] bpo-41944: No longer call eval() on content received via HTTP
- in the CJK codec tests (GH-22566)
-
-(cherry picked from commit 2ef5caa58febc8968e670e39e3d37cf8eef3cab8)
-
-Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-
-Upstream-Status: Backport [https://github.com/python/cpython/commit/b664a1df4ee71d3760ab937653b10997081b1794]
-CVE: CVE-2020-27619
-Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
-
----
- Lib/test/multibytecodec_support.py            | 22 +++++++------------
- .../2020-10-05-17-43-46.bpo-41944.rf1dYb.rst  |  1 +
- 2 files changed, 9 insertions(+), 14 deletions(-)
- create mode 100644 Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst
-
-diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py
-index cca8af67d6d1d..f76c0153f5ecf 100644
---- a/Lib/test/multibytecodec_support.py
-+++ b/Lib/test/multibytecodec_support.py
-@@ -305,29 +305,23 @@ def test_mapping_file(self):
-             self._test_mapping_file_plain()
- 
-     def _test_mapping_file_plain(self):
--        unichrs = lambda s: ''.join(map(chr, map(eval, s.split('+'))))
-+        def unichrs(s):
-+            return ''.join(chr(int(x, 16)) for x in s.split('+'))
-+
-         urt_wa = {}
- 
-         with self.open_mapping_file() as f:
-             for line in f:
-                 if not line:
-                     break
--                data = line.split('#')[0].strip().split()
-+                data = line.split('#')[0].split()
-                 if len(data) != 2:
-                     continue
- 
--                csetval = eval(data[0])
--                if csetval <= 0x7F:
--                    csetch = bytes([csetval & 0xff])
--                elif csetval >= 0x1000000:
--                    csetch = bytes([(csetval >> 24), ((csetval >> 16) & 0xff),
--                                    ((csetval >> 8) & 0xff), (csetval & 0xff)])
--                elif csetval >= 0x10000:
--                    csetch = bytes([(csetval >> 16), ((csetval >> 8) & 0xff),
--                                    (csetval & 0xff)])
--                elif csetval >= 0x100:
--                    csetch = bytes([(csetval >> 8), (csetval & 0xff)])
--                else:
-+                if data[0][:2] != '0x':
-+                    self.fail(f"Invalid line: {line!r}")
-+                csetch = bytes.fromhex(data[0][2:])
-+                if len(csetch) == 1 and 0x80 <= csetch[0]:
-                     continue
- 
-                 unich = unichrs(data[1])
-diff --git a/Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst b/Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst
-new file mode 100644
-index 0000000000000..4f9782f1c85af
---- /dev/null
-+++ b/Misc/NEWS.d/next/Tests/2020-10-05-17-43-46.bpo-41944.rf1dYb.rst
-@@ -0,0 +1 @@
-+Tests for CJK codecs no longer call ``eval()`` on content received via HTTP.
diff --git a/meta/recipes-devtools/python/python3_3.9.0.bb b/meta/recipes-devtools/python/python3_3.9.1.bb
similarity index 99%
rename from meta/recipes-devtools/python/python3_3.9.0.bb
rename to meta/recipes-devtools/python/python3_3.9.1.bb
index 19a8950f15..17d0c032f7 100644
--- a/meta/recipes-devtools/python/python3_3.9.0.bb
+++ b/meta/recipes-devtools/python/python3_3.9.1.bb
@@ -29,7 +29,6 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
            file://0001-Makefile-do-not-compile-.pyc-in-parallel.patch \
            file://0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch \
            file://0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch \
-           file://CVE-2020-27619.patch \
            "
 
 SRC_URI_append_class-native = " \
@@ -37,8 +36,7 @@ SRC_URI_append_class-native = " \
            file://12-distutils-prefix-is-inside-staging-area.patch \
            file://0001-Don-t-search-system-for-headers-libraries.patch \
            "
-
-SRC_URI[sha256sum] = "9c73e63c99855709b9be0b3cc9e5b072cb60f37311e8c4e50f15576a0bf82854"
+SRC_URI[sha256sum] = "991c3f8ac97992f3d308fefeb03a64db462574eadbff34ce8bc5bb583d9903ff"
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
-- 
2.29.2


  parent reply	other threads:[~2020-12-26  9:28 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-26  9:26 [PATCH 01/48] oeqa/ptest: print a warning if ptests failed Alexander Kanavin
2020-12-26  9:26 ` [PATCH 02/48] acpica: upgrade 20201113 -> 20201217 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 03/48] bind: upgrade 9.16.9 -> 9.16.10 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 04/48] diffoscope: upgrade 161 -> 163 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 05/48] dnf: upgrade 4.4.0 -> 4.5.2 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 06/48] enchant2: upgrade 2.2.13 -> 2.2.14 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 07/48] epiphany: upgrade 3.38.1 -> 3.38.2 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 08/48] ethtool: upgrade 5.9 -> 5.10 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 09/48] gtk+3: upgrade 3.24.23 -> 3.24.24 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 10/48] init-system-helpers: upgrade 1.58 -> 1.60 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 11/48] kbd: upgrade 2.3.0 -> 2.4.0 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 12/48] kea: upgrade 1.8.1 -> 1.8.2 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 13/48] libmodulemd: upgrade 2.9.4 -> 2.11.1 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 14/48] libpcre2: upgrade 10.35 -> 10.36 Alexander Kanavin
2020-12-26  9:26 ` [PATCH 15/48] libtirpc: upgrade 1.2.6 -> 1.3.1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 16/48] libusb1: upgrade 1.0.23 -> 1.0.24 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 17/48] libva: upgrade 2.9.0 -> 2.10.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 18/48] libx11: upgrade 1.6.12 -> 1.7.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 19/48] lighttpd: upgrade 1.4.56 -> 1.4.57 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 20/48] ninja: upgrade 1.10.1 -> 1.10.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 21/48] puzzles: upgrade to latest revision Alexander Kanavin
2020-12-26  9:27 ` [PATCH 22/48] python3-hypothesis: upgrade 5.41.5 -> 5.43.3 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 23/48] python3-py: upgrade 1.9.0 -> 1.10.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 24/48] python3-setuptools-scm: upgrade 4.1.2 -> 5.0.1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 25/48] sqlite3: upgrade 3.33.0 -> 3.34.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 26/48] stress-ng: upgrade 0.11.24 -> 0.12.00 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 27/48] sudo: upgrade 1.9.3p1 -> 1.9.4p1 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 28/48] sysvinit: upgrade 2.97 -> 2.98 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 29/48] util-linux: upgrade 2.36 -> 2.36.1 Alexander Kanavin
2020-12-27 17:14   ` [OE-core] " Khem Raj
2020-12-26  9:27 ` [PATCH 30/48] vala: upgrade 0.50.1 -> 0.50.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 31/48] vulkan-headers: upgrade 1.2.154.0 -> 1.2.162.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 32/48] webkitgtk: upgrade 2.30.2 -> 2.30.4 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 33/48] xprop: upgrade 1.2.4 -> 1.2.5 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 34/48] xserver-xorg: upgrade 1.20.9 -> 1.20.10 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 35/48] ell: upgrade 0.33 -> 0.35 Alexander Kanavin
2020-12-27  6:02   ` [OE-core] " Khem Raj
2020-12-27 11:04     ` Alexander Kanavin
2020-12-26  9:27 ` [PATCH 36/48] glib-2.0: update 2.66.2 -> 2.66.4 Alexander Kanavin
2020-12-29  7:45   ` [OE-core] " Naveen Saini
2020-12-29 10:24     ` Alexander Kanavin
2020-12-26  9:27 ` [PATCH 37/48] rpm: update 4.16.0 -> 4.16.1.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 38/48] piglit: update to latest revision Alexander Kanavin
2020-12-26  9:27 ` [PATCH 39/48] sbc: update 1.4 -> 1.5 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 40/48] libdnf: update 0.55.0 -> 0.55.2 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 41/48] libva-utils: update 2.9.1 -> 2.10.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 42/48] python3-importlib-metadata: update 3.1.1 -> 3.3.0 Alexander Kanavin
2020-12-26  9:27 ` Alexander Kanavin [this message]
2020-12-26  9:27 ` [PATCH 44/48] vulkan-loader: upgrade 1.2.154.1 -> 1.2.162.0 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 45/48] vulkan-tools: upgrade 1.2.154.0 " Alexander Kanavin
2020-12-26  9:27 ` [PATCH 46/48] systemd-bootchart: update 233 -> 234 Alexander Kanavin
2020-12-26  9:27 ` [PATCH 47/48] zstd: add recipe from meta-oe Alexander Kanavin
2020-12-26  9:27 ` [PATCH 48/48] zstd: update 1.4.5 -> 1.4.8 Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201226092732.52323-43-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.