aboutsummaryrefslogtreecommitdiff
path: root/lang/python34/files/patch-Modules_zipimport.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python34/files/patch-Modules_zipimport.c')
-rw-r--r--lang/python34/files/patch-Modules_zipimport.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/lang/python34/files/patch-Modules_zipimport.c b/lang/python34/files/patch-Modules_zipimport.c
deleted file mode 100644
index f1fe5b968da6..000000000000
--- a/lang/python34/files/patch-Modules_zipimport.c
+++ /dev/null
@@ -1,17 +0,0 @@
-
-Bug: http://bugs.python.org/issue26171
-
---- Modules/zipimport.c.orig 2015-12-21 06:01:04 UTC
-+++ Modules/zipimport.c
-@@ -1111,6 +1111,11 @@ get_data(PyObject *archive, PyObject *to
- }
- 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++;