diff options
Diffstat (limited to 'main/tiff/tiff-4.0.3-CVE-2013-4231.patch')
-rw-r--r-- | main/tiff/tiff-4.0.3-CVE-2013-4231.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/tiff/tiff-4.0.3-CVE-2013-4231.patch b/main/tiff/tiff-4.0.3-CVE-2013-4231.patch new file mode 100644 index 0000000000..f754c3a02f --- /dev/null +++ b/main/tiff/tiff-4.0.3-CVE-2013-4231.patch @@ -0,0 +1,16 @@ +http://pkgs.fedoraproject.org/cgit/libtiff.git/plain/libtiff-CVE-2013-4231.patch +http://bugs.gentoo.org/480466 + +--- a/tools/gif2tiff.c ++++ b/tools/gif2tiff.c +@@ -333,6 +333,10 @@ readraster(void) + int status = 1; + + datasize = getc(infile); ++ ++ if (datasize > 12) ++ return 0; ++ + clear = 1 << datasize; + eoi = clear + 1; + avail = clear + 2; |