From 509f4e2f838952bd0322597a9b677ead283c98d1 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Thu, 16 Mar 2023 15:05:35 +0800 Subject: python3: Update to 3.7.16, refresh patches Includes fixes: * 3.7.14: * CVE-2020-10735: Prevent DoS by large int<->str conversions * CVE-2021-28861: http.server: Open Redirection if the URL path starts with // * 3.7.16: * CVE-2022-45061: Slow IDNA decoding with large strings * CVE-2022-37454: Buffer overflow in the _sha3 module * CVE-2015-20107: mailcap.findmatch: document shell command Injection danger in filename parameter Signed-off-by: Jeffery To --- lang/python/python3/patches/004-do-not-write-bytes-codes.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/python3/patches/004-do-not-write-bytes-codes.patch') diff --git a/lang/python/python3/patches/004-do-not-write-bytes-codes.patch b/lang/python/python3/patches/004-do-not-write-bytes-codes.patch index eb66443aa..d92f69783 100644 --- a/lang/python/python3/patches/004-do-not-write-bytes-codes.patch +++ b/lang/python/python3/patches/004-do-not-write-bytes-codes.patch @@ -1,6 +1,6 @@ --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c -@@ -120,7 +120,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo +@@ -121,7 +121,7 @@ int Py_NoSiteFlag = 0; /* Suppress 'impo int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */ int Py_FrozenFlag = 0; /* Needed by getpath.c */ int Py_IgnoreEnvironmentFlag = 0; /* e.g. PYTHONPATH, PYTHONHOME */ -- cgit