summaryrefslogtreecommitdiff
path: root/lang/python33/files/patch-Modules_zipimport.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2017-09-03 10:33:56 +0000
committerRene Ladan <rene@FreeBSD.org>2017-09-03 10:33:56 +0000
commit42fbd0dcae80321b0a92fc4e5ecdadcf1cb16be3 (patch)
tree80e18c9119a221be6ae122615f16cc21b25d74a5 /lang/python33/files/patch-Modules_zipimport.c
parentsecurity/py-cryptography: remove support for expired Python 3.3 (diff)
Remove Python 3.3 and related ports, it expired today:
2017-09-01 lang/python33: No longer receives bug fixes, only security updates. Please update to Python 3.6 databases/py33-gdbm databases/py33-sqlite3 devel/py33-setuptools x11-toolkits/py33-tkinter devel/py3-enum34
Notes
Notes: svn path=/head/; revision=449196
Diffstat (limited to 'lang/python33/files/patch-Modules_zipimport.c')
-rw-r--r--lang/python33/files/patch-Modules_zipimport.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/python33/files/patch-Modules_zipimport.c b/lang/python33/files/patch-Modules_zipimport.c
deleted file mode 100644
index 66b635ebb4d4..000000000000
--- a/lang/python33/files/patch-Modules_zipimport.c
+++ /dev/null
@@ -1,17 +0,0 @@
-
-Bug: http://bugs.python.org/issue26171
-
---- Modules/zipimport.c.orig 2014-10-12 07:03:53 UTC
-+++ Modules/zipimport.c
-@@ -1089,6 +1089,11 @@ get_data(PyObject *archive, PyObject *to
- PyMarshal_ReadShortFromFile(fp); /* local header size */
- file_offset += l; /* Start of file data */
-
-+ if (data_size > LONG_MAX - 1) {
-+ fclose(fp);
-+ PyErr_NoMemory();
-+ return NULL;
-+ }
- bytes_size = compress == 0 ? data_size : data_size + 1;
- if (bytes_size == 0)
- bytes_size++;