mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/python3: security bump version to 3.14.4
https://www.python.org/downloads/release/python-3144/
https://docs.python.org/release/3.14.4/whatsnew/changelog.html
Fixes
CVE 2026-4224: https://www.cve.org/CVERecord?id=CVE-2026-4224
CVE 2026-3644: https://www.cve.org/CVERecord?id=CVE-2026-3644
CVE 2026-2297: https://www.cve.org/CVERecord?id=CVE-2026-2297
Rebased patch 0010 due to upstream commit
616e611844
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
58d2330b62
commit
f862711b10
@@ -7,7 +7,7 @@ Subject: [PATCH] gh-139275: Fix compilation of
|
|||||||
|
|
||||||
Upstream: https://github.com/python/cpython/commit/1963e701001839389cfb1b11d803b0743f4705d7
|
Upstream: https://github.com/python/cpython/commit/1963e701001839389cfb1b11d803b0743f4705d7
|
||||||
|
|
||||||
[ Bernd Kuhls: ported to Python 3.14.2]
|
[ Bernd Kuhls: ported to Python 3.14.4]
|
||||||
[ Vincent Fazio: update to apply cleanly to 3.14.3 ]
|
[ Vincent Fazio: update to apply cleanly to 3.14.3 ]
|
||||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||||
---
|
---
|
||||||
@@ -29,28 +29,28 @@ diff --git a/Modules/_remote_debugging_module.c b/Modules/_remote_debugging_modu
|
|||||||
index b46538b76df..e86a27d5812 100644
|
index b46538b76df..e86a27d5812 100644
|
||||||
--- a/Modules/_remote_debugging_module.c
|
--- a/Modules/_remote_debugging_module.c
|
||||||
+++ b/Modules/_remote_debugging_module.c
|
+++ b/Modules/_remote_debugging_module.c
|
||||||
@@ -812,7 +812,7 @@ _Py_RemoteDebug_GetAsyncioDebugAddress(proc_handle_t* handle)
|
@@ -834,7 +834,7 @@ _Py_RemoteDebug_GetAsyncioDebugAddress(proc_handle_t* handle)
|
||||||
PyErr_SetString(PyExc_RuntimeError, "Failed to find the AsyncioDebug section in the process.");
|
PyErr_SetString(PyExc_RuntimeError, "Failed to find the AsyncioDebug section in the process.");
|
||||||
_PyErr_ChainExceptions1(exc);
|
_PyErr_ChainExceptions1(exc);
|
||||||
}
|
}
|
||||||
-#elif defined(__linux__)
|
-#elif defined(__linux__)
|
||||||
+#elif defined(__linux__) && HAVE_PROCESS_VM_READV
|
+#elif defined(__linux__) && HAVE_PROCESS_VM_READV
|
||||||
// On Linux, search for asyncio debug in executable or DLL
|
// On Linux, search for asyncio debug in executable or DLL
|
||||||
address = search_linux_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython");
|
address = search_linux_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython", NULL);
|
||||||
if (address == 0) {
|
if (address == 0) {
|
||||||
diff --git a/Python/remote_debug.h b/Python/remote_debug.h
|
diff --git a/Python/remote_debug.h b/Python/remote_debug.h
|
||||||
index 8f9b6cd4c49..b7d17a0f345 100644
|
index 8f9b6cd4c49..b7d17a0f345 100644
|
||||||
--- a/Python/remote_debug.h
|
--- a/Python/remote_debug.h
|
||||||
+++ b/Python/remote_debug.h
|
+++ b/Python/remote_debug.h
|
||||||
@@ -886,7 +886,7 @@ _Py_RemoteDebug_GetPyRuntimeAddress(proc_handle_t* handle)
|
@@ -923,7 +923,7 @@
|
||||||
handle->pid);
|
handle->pid);
|
||||||
_PyErr_ChainExceptions1(exc);
|
_PyErr_ChainExceptions1(exc);
|
||||||
}
|
}
|
||||||
-#elif defined(__linux__)
|
-#elif defined(__linux__)
|
||||||
+#elif defined(__linux__) && HAVE_PROCESS_VM_READV
|
+#elif defined(__linux__) && HAVE_PROCESS_VM_READV
|
||||||
// On Linux, search for 'python' in executable or DLL
|
// On Linux, search for 'python' in executable or DLL
|
||||||
address = search_linux_map_for_section(handle, "PyRuntime", "python");
|
address = search_linux_map_for_section(handle, "PyRuntime", "python",
|
||||||
if (address == 0) {
|
_Py_RemoteDebug_ValidatePyRuntimeCookie);
|
||||||
--
|
--
|
||||||
2.47.3
|
2.47.3
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# From https://www.python.org/downloads/release/python-3143/
|
# From https://www.python.org/downloads/release/python-3144/
|
||||||
sha256 a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b Python-3.14.3.tar.xz
|
sha256 d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 Python-3.14.4.tar.xz
|
||||||
# Locally computed
|
# Locally computed
|
||||||
sha256 b0e25a78cffb43f4d92de8b61ccfa1f1f98ecbc22330b54b5251e7b6ba010231 LICENSE
|
sha256 b0e25a78cffb43f4d92de8b61ccfa1f1f98ecbc22330b54b5251e7b6ba010231 LICENSE
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PYTHON3_VERSION_MAJOR = 3.14
|
PYTHON3_VERSION_MAJOR = 3.14
|
||||||
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).3
|
PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).4
|
||||||
PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
|
PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
|
||||||
PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
|
PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION)
|
||||||
PYTHON3_LICENSE = Python-2.0, others
|
PYTHON3_LICENSE = Python-2.0, others
|
||||||
|
|||||||
Reference in New Issue
Block a user