]> git.pld-linux.org Git - packages/libtiff.git/commitdiff
- still required
authorSzymon Siwek <sls@pld-linux.org>
Sun, 25 Oct 2009 23:56:01 +0000 (23:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libtiff-CVE-2009-2285.patch -> 1.3

libtiff-CVE-2009-2285.patch [new file with mode: 0644]

diff --git a/libtiff-CVE-2009-2285.patch b/libtiff-CVE-2009-2285.patch
new file mode 100644 (file)
index 0000000..435a84b
--- /dev/null
@@ -0,0 +1,22 @@
+Index: tiff-3.8.2/libtiff/tif_lzw.c
+===================================================================
+--- tiff-3.8.2.orig/libtiff/tif_lzw.c
++++ tiff-3.8.2/libtiff/tif_lzw.c
+@@ -421,7 +421,7 @@ LZWDecode(TIFF* tif, tidata_t op0, tsize
+                       NextCode(tif, sp, bp, code, GetNextCode);
+                       if (code == CODE_EOI)
+                               break;
+-                      if (code == CODE_CLEAR) {
++                      if (code >= CODE_CLEAR) {
+                               TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
+                               "LZWDecode: Corrupted LZW table at scanline %d",
+                               tif->tif_row);
+@@ -624,7 +624,7 @@ LZWDecodeCompat(TIFF* tif, tidata_t op0,
+                       NextCode(tif, sp, bp, code, GetNextCodeCompat);
+                       if (code == CODE_EOI)
+                               break;
+-                      if (code == CODE_CLEAR) {
++                      if (code >= CODE_CLEAR) {
+                               TIFFErrorExt(tif->tif_clientdata, tif->tif_name,
+                               "LZWDecode: Corrupted LZW table at scanline %d",
+                               tif->tif_row);
This page took 0.034141 seconds and 4 git commands to generate.