mirror of
https://github.com/openwrt/packages.git
synced 2025-12-16 07:31:20 +00:00
python: update to version 2.7.14 for branch 17.01
Bump version and overwrite patches from master, since those were refreshed (at some point). I got an email notification about some CVEs for branch 17.01, so I decided to update Python. Technically, one seems to be for SolidWorks from what I can tell, but upgrading should be easy. ``` Hello Alexandru Ardelean, The package python is vulnerable to the following CVEs: CVE-2014-4616 https://nvd.nist.gov/vuln/detail/CVE-2014-4616 CVE-2017-100015 https://nvd.nist.gov/vuln/detail/CVE-2017-100015 Please consider updating or patching the package. ``` Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
|
||||
index 748a63b..cb6e291 100644
|
||||
--- a/Python/pythonrun.c
|
||||
+++ b/Python/pythonrun.c
|
||||
@@ -79,7 +79,7 @@ int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
|
||||
@@ -79,7 +79,7 @@ int Py_InteractiveFlag; /* Needed by Py_
|
||||
int Py_InspectFlag; /* Needed to determine whether to exit at SystemExit */
|
||||
int Py_NoSiteFlag; /* Suppress 'import site' */
|
||||
int Py_BytesWarningFlag; /* Warn on str(bytes) and str(buffer) */
|
||||
@@ -11,7 +9,7 @@ index 748a63b..cb6e291 100644
|
||||
int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */
|
||||
int Py_FrozenFlag; /* Needed by getpath.c */
|
||||
int Py_UnicodeFlag = 0; /* Needed by compile.c */
|
||||
@@ -174,7 +174,7 @@ Py_InitializeEx(int install_sigs)
|
||||
@@ -185,7 +185,7 @@ Py_InitializeEx(int install_sigs)
|
||||
if ((p = Py_GETENV("PYTHONOPTIMIZE")) && *p != '\0')
|
||||
Py_OptimizeFlag = add_flag(Py_OptimizeFlag, p);
|
||||
if ((p = Py_GETENV("PYTHONDONTWRITEBYTECODE")) && *p != '\0')
|
||||
|
||||
Reference in New Issue
Block a user