diff options
Diffstat (limited to 'abs/core/libtiff/tiff-4.0.3-CVE-2013-4231.patch')
-rw-r--r-- | abs/core/libtiff/tiff-4.0.3-CVE-2013-4231.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/core/libtiff/tiff-4.0.3-CVE-2013-4231.patch b/abs/core/libtiff/tiff-4.0.3-CVE-2013-4231.patch new file mode 100644 index 0000000..3c21718 --- /dev/null +++ b/abs/core/libtiff/tiff-4.0.3-CVE-2013-4231.patch @@ -0,0 +1,18 @@ +Index: gif2tiff.c +=================================================================== +RCS file: /cvs/maptools/cvsroot/libtiff/tools/gif2tiff.c,v +retrieving revision 1.12 +diff -u -r1.12 gif2tiff.c +--- gif2tiff.c 15 Dec 2010 00:22:44 -0000 1.12 ++++ gif2tiff.c 13 Aug 2013 08:25:38 -0000 +@@ -333,6 +333,10 @@ + int status = 1; + + datasize = getc(infile); ++ ++ if (datasize > 12) ++ return 0; ++ + clear = 1 << datasize; + eoi = clear + 1; + avail = clear + 2; |