python3: Fix CVE-2022-37460

Apply patch created after the release of 3.11.0.

(From OE-Core rev: 1a8836ed324f3f9abb2eabe357ffe2e05124857e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joe Slater
2022-11-18 09:35:26 -08:00
committed by Richard Purdie
parent 1be02b42d9
commit 2f92cccb74
2 changed files with 96 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \
file://deterministic_imports.patch \
file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
file://cve-2022-37460.patch \
"
SRC_URI:append:class-native = " \