pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar  4 07:03:18 UTC 2026

Modified Files:
        pkgsrc/lang/py310-html-docs: Makefile distinfo
        pkgsrc/lang/python310: Makefile dist.mk distinfo

Log Message:
python310 py310-html-docs: updated to 3.10.20

Python 3.10.20

Security

gh-144125: BytesGenerator will now refuse to serialize (write) headers that are unsafely folded or delimited; see verify_generated_headers. (Contributed by Bas Bloemsaat and Petr Viktorin in 
gh-121650).
gh-143935: Fixed a bug in the folding of comments when flattening an email message using a modern email policy. Comments consisting of a very long sequence of non-foldable characters could trigger a 
forced line wrap that omitted the required leading space on the continuation line, causing the remainder of the comment to be interpreted as a new header field. This enabled header injection with 
carefully crafted inputs.
gh-143925: Reject control characters in data: URL media types.
gh-143919: Reject control characters in http.cookies.Morsel fields and values.
gh-143916: Reject C0 control characters within wsgiref.headers.Headers fields, values, and parameters.
gh-142145: Remove quadratic behavior in xml.minidom node ID cache clearing. In order to do this without breaking existing users, we also add the ownerDocument attribute to xml.dom.minidom elements 
and attributes created by directly instantiating the Element or Attr class. Note that this way of creating nodes is not supported; creator functions like xml.dom.Document.documentElement() should be 
used instead.
gh-137836: Add support of the “plaintext” element, RAWTEXT elements “xmp”, “iframe”, “noembed” and “noframes”, and optionally RAWTEXT element “noscript” in html.parser.HTMLParser.
gh-136063: email.message: ensure linear complexity for legacy HTTP parameters parsing. Patch by Bénédikt Tran.
gh-136065: Fix quadratic complexity in os.path.expandvars().
gh-119451: Fix a potential memory denial of service in the http.client module. When connecting to a malicious server, it could cause an arbitrary amount of memory to be allocated. This could have led 
to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.
gh-119452: Fix a potential memory denial of service in the http.server module. When a malicious user is connected to the CGI server on Windows, it could cause an arbitrary amount of memory to be 
allocated. This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.
gh-119342: Fix a potential memory denial of service in the plistlib module. When reading a Plist file received from untrusted source, it could cause an arbitrary amount of memory to be allocated. 
This could have led to symptoms including a MemoryError, swapping, out of memory (OOM) killed processes or containers, or even system crashes.

Library

gh-144833: Fixed a use-after-free in ssl when SSL_new() returns NULL in newPySSLSocket(). The error was reported via a dangling pointer after the object had already been freed.
gh-144363: Update bundled libexpat to 2.7.4
gh-90949: Add SetAllocTrackerActivationThreshold() and SetAllocTrackerMaximumAmplification() to xmlparser objects to prevent use of disproportional amounts of dynamic memory from within an Expat 
parser. Patch by Bénédikt Tran.

Core and Builtins

gh-120384: Fix an array out of bounds crash in list_ass_subscript, which could be invoked via some specificly tailored input: including concurrent modification of a list object, where one thread 
assigns a slice and another clears it.
gh-120298: Fix use-after free in list_richcompare_impl which can be invoked via some specificly tailored evil input.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/py310-html-docs/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/py310-html-docs/distinfo
cvs rdiff -u -r1.43 -r1.44 pkgsrc/lang/python310/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/python310/dist.mk
cvs rdiff -u -r1.35 -r1.36 pkgsrc/lang/python310/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py310-html-docs/Makefile
diff -u pkgsrc/lang/py310-html-docs/Makefile:1.20 pkgsrc/lang/py310-html-docs/Makefile:1.21
--- pkgsrc/lang/py310-html-docs/Makefile:1.20   Fri Oct 10 13:01:00 2025
+++ pkgsrc/lang/py310-html-docs/Makefile        Wed Mar  4 07:03:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2025/10/10 13:01:00 adam Exp $
+# $NetBSD: Makefile,v 1.21 2026/03/04 07:03:18 adam Exp $
 
-VERS=          3.10.19
+VERS=          3.10.20
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py310-html-docs-${VERS}
 CATEGORIES=    lang python

Index: pkgsrc/lang/py310-html-docs/distinfo
diff -u pkgsrc/lang/py310-html-docs/distinfo:1.22 pkgsrc/lang/py310-html-docs/distinfo:1.23
--- pkgsrc/lang/py310-html-docs/distinfo:1.22   Fri Oct 10 13:01:00 2025
+++ pkgsrc/lang/py310-html-docs/distinfo        Wed Mar  4 07:03:18 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2025/10/10 13:01:00 adam Exp $
+$NetBSD: distinfo,v 1.23 2026/03/04 07:03:18 adam Exp $
 
-BLAKE2s (python-3.10.19-docs-html.tar.bz2) = 0d69d4244d65b05865595d169eedd4fd7bd771d09d803f1725187af94e23d6f5
-SHA512 (python-3.10.19-docs-html.tar.bz2) = 9a54ce912c51251a76bf4e5842d4d54b2e4c8034607a6ab71a740c3d6a8760cab5a44974b19a00c9f3e9e0025ed1cacb76b12e2a855d40bab4676ae7bf9e3128
-Size (python-3.10.19-docs-html.tar.bz2) = 7453972 bytes
+BLAKE2s (python-3.10.20-docs-html.tar.bz2) = bc99c73d8dfb44de8fef3881056df331255b0dc8973a68b8b0fb6323a1c9f888
+SHA512 (python-3.10.20-docs-html.tar.bz2) = c504000dbc3b22cfa32dccfec35137bb7f82c0d8b61e9d68f5f8ff559aed6721c7da210ec7b959d9c238438840514962912a2066d5a436719d9cf2a16104b37f
+Size (python-3.10.20-docs-html.tar.bz2) = 7329760 bytes

Index: pkgsrc/lang/python310/Makefile
diff -u pkgsrc/lang/python310/Makefile:1.43 pkgsrc/lang/python310/Makefile:1.44
--- pkgsrc/lang/python310/Makefile:1.43 Wed Jan  7 08:47:41 2026
+++ pkgsrc/lang/python310/Makefile      Wed Mar  4 07:03:17 2026
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.43 2026/01/07 08:47:41 wiz Exp $
+# $NetBSD: Makefile,v 1.44 2026/03/04 07:03:17 adam Exp $
 
-PKGREVISION= 1
 .include "dist.mk"
 
 PKGNAME=       python310-${PY_DISTVERSION}
@@ -39,9 +38,9 @@ GNU_CONFIGURE=                yes
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --with-openssl=${BUILDLINK_PREFIX.openssl}
 CONFIGURE_ARGS+=       --with-readline=readline # XXX editline?
-CONFIGURE_ARGS+=       --with-system-expat
 CONFIGURE_ARGS+=       --with-system-ffi
 CONFIGURE_ARGS+=       --without-ensurepip
+CONFIGURE_ARGS+=       --without-system-expat # requires expat_config.h
 CONFIGURE_ENV+=                OPT=${CFLAGS:M*:Q}
 CONFIGURE_ENV+=                ac_cv_path_mkdir=${TOOLS_PATH.mkdir}
 PKGCONFIG_OVERRIDE+=   Misc/python.pc.in Misc/python-embed.pc.in

Index: pkgsrc/lang/python310/dist.mk
diff -u pkgsrc/lang/python310/dist.mk:1.20 pkgsrc/lang/python310/dist.mk:1.21
--- pkgsrc/lang/python310/dist.mk:1.20  Fri Oct 10 13:01:00 2025
+++ pkgsrc/lang/python310/dist.mk       Wed Mar  4 07:03:17 2026
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.20 2025/10/10 13:01:00 adam Exp $
+# $NetBSD: dist.mk,v 1.21 2026/03/04 07:03:17 adam Exp $
 
-PY_DISTVERSION=        3.10.19
+PY_DISTVERSION=        3.10.20
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python310/distinfo

Index: pkgsrc/lang/python310/distinfo
diff -u pkgsrc/lang/python310/distinfo:1.35 pkgsrc/lang/python310/distinfo:1.36
--- pkgsrc/lang/python310/distinfo:1.35 Fri Oct 10 13:01:00 2025
+++ pkgsrc/lang/python310/distinfo      Wed Mar  4 07:03:17 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.35 2025/10/10 13:01:00 adam Exp $
+$NetBSD: distinfo,v 1.36 2026/03/04 07:03:17 adam Exp $
 
-BLAKE2s (Python-3.10.19.tar.xz) = 0c342dde8e90e824482de33ecfb3faad680489646e6c4ccaa7ecafffe5fc3b22
-SHA512 (Python-3.10.19.tar.xz) = 9ea1e952bb5f7c9cc8d3efd8e7ae0059c129b6e09d12ded7d4e22476fad35f2c8186b1e003ea35a0099ffa5ff0a114985c3e960fba84e7037670b840a3e19c68
-Size (Python-3.10.19.tar.xz) = 19873020 bytes
+BLAKE2s (Python-3.10.20.tar.xz) = 4454ebde7712943986b85ab3cee30cc5ebf882cbb237e4e8759974060a3e8d69
+SHA512 (Python-3.10.20.tar.xz) = 591d3acf7ef47307b8c58fec9516731b374bcdf6eb21883410f67402f823a183f1abffec1116583e394610730f414d5a98b4c3437ea5174a4d2adbb99b8f6e5b
+Size (Python-3.10.20.tar.xz) = 19868028 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 8a91e8f4f86517a62408c3a10ed5eb50c4091fbf
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390



Home | Main Index | Thread Index | Old Index