diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 23:47:21 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 23:47:21 (GMT) |
commit | c2d8a1e536dd0820041baa03da35a4eb1c79e768 (patch) | |
tree | 0f1a1a785cd70c0840f29fcf533ec24e5e9b1b57 /abs/core-testing/libtiff/libtiff-CVE-2009-2285.patch | |
parent | 68c9340c3d557cde366a13f9636bbe2be0906bb9 (diff) | |
download | linhes_pkgbuild-c2d8a1e536dd0820041baa03da35a4eb1c79e768.zip linhes_pkgbuild-c2d8a1e536dd0820041baa03da35a4eb1c79e768.tar.gz linhes_pkgbuild-c2d8a1e536dd0820041baa03da35a4eb1c79e768.tar.bz2 |
libtiff:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/libtiff/libtiff-CVE-2009-2285.patch')
-rw-r--r-- | abs/core-testing/libtiff/libtiff-CVE-2009-2285.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/core-testing/libtiff/libtiff-CVE-2009-2285.patch b/abs/core-testing/libtiff/libtiff-CVE-2009-2285.patch new file mode 100644 index 0000000..435a84b --- /dev/null +++ b/abs/core-testing/libtiff/libtiff-CVE-2009-2285.patch @@ -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); |