diff options
Diffstat (limited to 'devel/radare2/files/patch-CVE-2015-2331')
| -rw-r--r-- | devel/radare2/files/patch-CVE-2015-2331 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/devel/radare2/files/patch-CVE-2015-2331 b/devel/radare2/files/patch-CVE-2015-2331 index 14174096793c..cb96d44f76e9 100644 --- a/devel/radare2/files/patch-CVE-2015-2331 +++ b/devel/radare2/files/patch-CVE-2015-2331 @@ -3,10 +3,17 @@ user: Thomas Klausner <tk@giga.or.at> date: Sat Mar 21 12:28:42 2015 +0100 summary: Avoid integer overflow. Addresses CVE-2015-2331. -diff --git a/lib/zip_dirent.c b/lib/zip_dirent.c ---- shlr/zip/zip/zip_dirent.c +--- shlr/zip/zip/zip_dirent.c.orig 2014-12-03 21:56:31 UTC +++ shlr/zip/zip/zip_dirent.c -@@ -110,7 +110,7 @@ _zip_cdir_new(zip_uint64_t nentry, struc +@@ -35,6 +35,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <stdint.h> + #include <string.h> + #include <errno.h> + #include <sys/types.h> +@@ -110,7 +111,7 @@ _zip_cdir_new(zip_uint64_t nentry, struc if (nentry == 0) cd->entry = NULL; |
