diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2005-01-02 23:01:09 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2005-01-02 23:01:09 +0000 |
commit | 61e19ab056f28f9f47a02f1ae7f1a31c0726f2f1 (patch) | |
tree | 48475395819af1044d9765d815f3c60d9e61ffea /media-libs/tiff/files | |
parent | Change encoding to UTF-8 for GLEP 31 compliance (diff) | |
download | historical-61e19ab056f28f9f47a02f1ae7f1a31c0726f2f1.tar.gz historical-61e19ab056f28f9f47a02f1ae7f1a31c0726f2f1.tar.bz2 historical-61e19ab056f28f9f47a02f1ae7f1a31c0726f2f1.zip |
bumped and added patches for bugs #75423 and #75316
Diffstat (limited to 'media-libs/tiff/files')
-rw-r--r-- | media-libs/tiff/files/digest-tiff-3.7.1-r1 | 1 | ||||
-rw-r--r-- | media-libs/tiff/files/tiff-3.7.1-tiffdump.patch | 14 | ||||
-rw-r--r-- | media-libs/tiff/files/tiff-3.7.1-trans.patch | 11 |
3 files changed, 26 insertions, 0 deletions
diff --git a/media-libs/tiff/files/digest-tiff-3.7.1-r1 b/media-libs/tiff/files/digest-tiff-3.7.1-r1 new file mode 100644 index 000000000000..c6b9f9274e15 --- /dev/null +++ b/media-libs/tiff/files/digest-tiff-3.7.1-r1 @@ -0,0 +1 @@ +MD5 37d222df12eb23691614cd40b7b1f215 tiff-3.7.1.tar.gz 1253810 diff --git a/media-libs/tiff/files/tiff-3.7.1-tiffdump.patch b/media-libs/tiff/files/tiff-3.7.1-tiffdump.patch new file mode 100644 index 000000000000..fc55c5d37916 --- /dev/null +++ b/media-libs/tiff/files/tiff-3.7.1-tiffdump.patch @@ -0,0 +1,14 @@ +--- tiff-3.7.1/tools/tiffdump.c.orig 2004-09-03 12:16:01 +0400 ++++ tiff-3.7.1/tools/tiffdump.c 2004-12-22 01:57:51 +0300 +@@ -307,6 +307,11 @@ ReadDirectory(int fd, unsigned ix, off_t + continue; + } + space = dp->tdir_count * datawidth[dp->tdir_type]; ++ if (space <= 0) { ++ printf(">\n"); ++ Error("Invalid count for tag %u", dp->tdir_tag); ++ continue; ++ } + if (space <= 4) { + switch (dp->tdir_type) { + case TIFF_FLOAT: diff --git a/media-libs/tiff/files/tiff-3.7.1-trans.patch b/media-libs/tiff/files/tiff-3.7.1-trans.patch new file mode 100644 index 000000000000..563ac3476eda --- /dev/null +++ b/media-libs/tiff/files/tiff-3.7.1-trans.patch @@ -0,0 +1,11 @@ +--- libtiff/tif_getimage.c.orig 2005-01-02 12:17:24.733622762 -0800 ++++ libtiff/tif_getimage.c 2005-01-02 12:17:29.010612325 -0800 +@@ -247,7 +247,7 @@ + TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &img->samplesperpixel); + TIFFGetFieldDefaulted(tif, TIFFTAG_EXTRASAMPLES, + &extrasamples, &sampleinfo); +- if (extrasamples > 1) ++ if (extrasamples >= 1) + { + switch (sampleinfo[0]) { + case EXTRASAMPLE_UNSPECIFIED: /* Workaround for some images without */ |