Sun May 1 20:28:44 2016 UTC ()
Update graphics/giflib to 5.1.4.

Changes:
Version 5.1.4
=============
Code Fixes
----------
* Fix SF bug #94: giflib 5 loves to fail to load images... a LOT.
* Fix SF Bug #92: Fix buffer overread in gifbuild.
* Fix SF Bug #93: Add bounds check in gifbuild netscape2.0 path
* Fix SF Bug #89: Fix buffer overread in gifbuild.

Version 5.1.3
=============
As of this version the library and code has been seriously abused by fuzzers,
smoking out crash bugs (now fixed) induced by various kinds of severely
malformed GIF.

Code Fixes
----------
* Prevent malloc randomess from causing the header output routine to emit
  a GIF89 version string even when no GIF89 features are present. Only
  breaks tests, not production code, but it's odd this wasn't caught sooner.
* Prevent malloc randomess from producing sporadic failures by causing
  sanity checks added in 5.1.2 to misfire.
* Bulletproof gif2rgb against 0-height images. Addressed SF bug #78:
  Heap overflow in gif2rgb with images of size 0, also SF bug #82.
* Remove unnecessary duplicate EGifClose() in gifcolor.c. Fixes SF bug #83
  introduced in 5.1.2.
* Fix SF Bug #84: incorrect return of DGifSlurp().


(leot)
diff -r1.10 -r1.11 pkgsrc/graphics/giflib/Makefile.common
diff -r1.17 -r1.18 pkgsrc/graphics/giflib/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/graphics/giflib/Makefile.common (expand / switch to unified diff)

--- pkgsrc/graphics/giflib/Makefile.common 2016/01/18 19:02:56 1.10
+++ pkgsrc/graphics/giflib/Makefile.common 2016/05/01 20:28:44 1.11
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile.common,v 1.10 2016/01/18 19:02:56 leot Exp $ 1# $NetBSD: Makefile.common,v 1.11 2016/05/01 20:28:44 leot Exp $
2# used by graphics/giflib/Makefile 2# used by graphics/giflib/Makefile
3# used by graphics/giflib-util/Makefile 3# used by graphics/giflib-util/Makefile
4 4
5DISTNAME= giflib-5.1.2 5DISTNAME= giflib-5.1.4
6CATEGORIES= graphics 6CATEGORIES= graphics
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
8EXTRACT_SUFX= .tar.bz2 8EXTRACT_SUFX= .tar.bz2
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://giflib.sourceforge.net/ 11HOMEPAGE= http://giflib.sourceforge.net/
12LICENSE= mit 12LICENSE= mit
13 13
14#PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches 14#PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches
15DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo 15DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo
16 16
17USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
18USE_LIBTOOL= yes 18USE_LIBTOOL= yes

cvs diff -r1.17 -r1.18 pkgsrc/graphics/giflib/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/giflib/distinfo 2016/01/18 14:34:36 1.17
+++ pkgsrc/graphics/giflib/distinfo 2016/05/01 20:28:44 1.18
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.17 2016/01/18 14:34:36 leot Exp $ 1$NetBSD: distinfo,v 1.18 2016/05/01 20:28:44 leot Exp $
2 2
3SHA1 (giflib-5.1.2.tar.bz2) = 3f7bc86280db30a7120b2113f9f261301c515ad2 3SHA1 (giflib-5.1.4.tar.bz2) = 5f1157cfc377916280849e247b8e34fa0446513f
4RMD160 (giflib-5.1.2.tar.bz2) = 93bb79ca74d8063da74f8597ddec4d6a79bdfd2f 4RMD160 (giflib-5.1.4.tar.bz2) = 0a970b30afb113036183a35bf55b7edcfbcc46c8
5SHA512 (giflib-5.1.2.tar.bz2) = 062adabd25d8c879d2bd6fd007244efb5c41248f68b75d184d94836d2e5dcbfcb1427928a3bc78017ecb4e679a336178d28851ba1f3c1a40f70e694f3ff8449d 5SHA512 (giflib-5.1.4.tar.bz2) = 32b5e342056c210e6478e9cb3b6ceec9594dcfaf34feea1eb4dad633a081ed4465bceee578c19165907cb47cb83912ac359ceea666a8e07dbbb5420f9928f96d
6Size (giflib-5.1.2.tar.bz2) = 638967 bytes 6Size (giflib-5.1.4.tar.bz2) = 639703 bytes