summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-11-11 00:38:13 +0000
committerMike Frysinger <vapier@gentoo.org>2007-11-11 00:38:13 +0000
commitcc2ff89a8788d26655745214ee471cafbacc586b (patch)
tree3ded704885909068d2360c30491c3a8b9154263c /media-libs/giflib/files
parentVersion bump, security bug #198644. (diff)
downloadhistorical-cc2ff89a8788d26655745214ee471cafbacc586b.tar.gz
historical-cc2ff89a8788d26655745214ee471cafbacc586b.tar.bz2
historical-cc2ff89a8788d26655745214ee471cafbacc586b.zip
Version bump.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-libs/giflib/files')
-rw-r--r--media-libs/giflib/files/digest-giflib-4.1.63
-rw-r--r--media-libs/giflib/files/giflib-4.1.6-gif2rle.patch18
2 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/giflib/files/digest-giflib-4.1.6 b/media-libs/giflib/files/digest-giflib-4.1.6
new file mode 100644
index 000000000000..f8a2a2092725
--- /dev/null
+++ b/media-libs/giflib/files/digest-giflib-4.1.6
@@ -0,0 +1,3 @@
+MD5 7125644155ae6ad33dbc9fc15a14735f giflib-4.1.6.tar.bz2 506050
+RMD160 bdb99f7048a79b9e771b069f90ac151537011d19 giflib-4.1.6.tar.bz2 506050
+SHA256 e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed giflib-4.1.6.tar.bz2 506050
diff --git a/media-libs/giflib/files/giflib-4.1.6-gif2rle.patch b/media-libs/giflib/files/giflib-4.1.6-gif2rle.patch
new file mode 100644
index 000000000000..f36b6b41fcc2
--- /dev/null
+++ b/media-libs/giflib/files/giflib-4.1.6-gif2rle.patch
@@ -0,0 +1,18 @@
+http://sourceforge.net/tracker/index.php?func=detail&aid=1829712&group_id=102202&atid=631304
+
+--- giflib/util/gif2rle.c
++++ giflib/util/gif2rle.c
+@@ -222,11 +222,8 @@
+ ColorMap = (GifFile->Image.ColorMap ?
+ GifFile->Image.ColorMap->Colors :
+ GifFile->SColorMap->Colors);
+- if (ColorMap == NULL) {
+- fprintf(stderr, "Gif Image does not have a colormap\n");
+- exit(EXIT_FAILURE);
+- }
+- ColorMapSize = 1 << ColorMap->BitsPerPixel;
++ ColorMapSize = 1 << (GifFile->Image.ColorMap ? GifFile->Image.ColorMap->BitsPerPixel :
++ GifFile->SColorMap->BitsPerPixel);
+ DumpScreen2Rle(ScreenBuffer, GifFile->SWidth, GifFile->SHeight);
+
+ if (DGifCloseFile(GifFile) == GIF_ERROR) {