mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
python3: update to version 3.11.13
Release notes: https://docs.python.org/release/3.11.13/whatsnew/changelog.html#python-3-11-13 Fixes CVEs: CVE 2024-12718 CVE 2025-4138 CVE 2025-4330 CVE 2025-4517 Patch refreshed Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
# Note: keep in sync with setuptools & pip
|
# Note: keep in sync with setuptools & pip
|
||||||
PYTHON3_VERSION_MAJOR:=3
|
PYTHON3_VERSION_MAJOR:=3
|
||||||
PYTHON3_VERSION_MINOR:=11
|
PYTHON3_VERSION_MINOR:=11
|
||||||
PYTHON3_VERSION_MICRO:=10
|
PYTHON3_VERSION_MICRO:=13
|
||||||
|
|
||||||
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
|
|||||||
|
|
||||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
|
||||||
PKG_HASH:=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
|
PKG_HASH:=8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a
|
||||||
|
|
||||||
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
|
||||||
PKG_LICENSE:=Python-2.0.1 0BSD
|
PKG_LICENSE:=Python-2.0.1 0BSD
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
--- a/Modules/_ssl.c
|
--- a/Modules/_ssl.c
|
||||||
+++ b/Modules/_ssl.c
|
+++ b/Modules/_ssl.c
|
||||||
@@ -4541,7 +4541,7 @@ set_sni_callback(PySSLContext *self, PyO
|
@@ -4551,7 +4551,7 @@ set_sni_callback(PySSLContext *self, PyO
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj)
|
static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj)
|
||||||
{
|
{
|
||||||
int ok;
|
int ok;
|
||||||
@@ -4614,7 +4614,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
|
@@ -4624,7 +4624,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
|
||||||
int x509 = 0, crl = 0, ca = 0, i;
|
int x509 = 0, crl = 0, ca = 0, i;
|
||||||
|
|
||||||
store = SSL_CTX_get_cert_store(self->ctx);
|
store = SSL_CTX_get_cert_store(self->ctx);
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
if (objs == NULL) {
|
if (objs == NULL) {
|
||||||
PyErr_SetString(PyExc_MemoryError, "failed to query cert store");
|
PyErr_SetString(PyExc_MemoryError, "failed to query cert store");
|
||||||
return NULL;
|
return NULL;
|
||||||
@@ -4669,7 +4673,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
|
@@ -4679,7 +4683,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
|
||||||
}
|
}
|
||||||
|
|
||||||
store = SSL_CTX_get_cert_store(self->ctx);
|
store = SSL_CTX_get_cert_store(self->ctx);
|
||||||
|
|||||||
Reference in New Issue
Block a user