summaryrefslogtreecommitdiffstats
path: root/libzip-0.11.2-CVE-2015-2331.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-13 07:32:28 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-13 07:32:28 +0100
commit4ff55959327b2ad2017b91f88281dda3f5dcc8ef (patch)
tree757f37d217f82453b438fe7bf28742d8a4e53b58 /libzip-0.11.2-CVE-2015-2331.patch
parent324248940b4457c7ca2cd2e13a917e19a52bd567 (diff)
libzip 1.1.1
Diffstat (limited to 'libzip-0.11.2-CVE-2015-2331.patch')
-rw-r--r--libzip-0.11.2-CVE-2015-2331.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/libzip-0.11.2-CVE-2015-2331.patch b/libzip-0.11.2-CVE-2015-2331.patch
deleted file mode 100644
index 67d2abc..0000000
--- a/libzip-0.11.2-CVE-2015-2331.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up libzip-0.11.2/lib/zip_dirent.c.CVE-2015-2331 libzip-0.11.2/lib/zip_dirent.c
---- libzip-0.11.2/lib/zip_dirent.c.CVE-2015-2331 2013-11-28 10:57:10.000000000 -0600
-+++ libzip-0.11.2/lib/zip_dirent.c 2015-03-23 07:45:27.486986723 -0500
-@@ -110,7 +110,7 @@ _zip_cdir_new(zip_uint64_t nentry, struc
-
- if (nentry == 0)
- cd->entry = NULL;
-- else if ((cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) {
-+ else if ((nentry > SIZE_MAX/sizeof(*(cd->entry))) || (cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) {
- _zip_error_set(error, ZIP_ER_MEMORY, 0);
- free(cd);
- return NULL;