diff -Nru gifsicle-1.89/configure.ac gifsicle-1.90/configure.ac --- gifsicle-1.89/configure.ac 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/configure.ac 2017-08-14 16:24:35.000000000 +0000 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([gifsicle], [1.89]) +AC_INIT([gifsicle], [1.90]) AC_CONFIG_SRCDIR([src/gifsicle.h]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE diff -Nru gifsicle-1.89/debian/changelog gifsicle-1.90/debian/changelog --- gifsicle-1.89/debian/changelog 2017-07-23 18:17:39.000000000 +0000 +++ gifsicle-1.90/debian/changelog 2017-08-20 18:51:08.000000000 +0000 @@ -1,3 +1,10 @@ +gifsicle (1.90-1) unstable; urgency=medium + + * New upstream version 1.90 + * DH_LEVEL: 10 + + -- Herbert Parentes Fortes Neto Sun, 20 Aug 2017 15:51:08 -0300 + gifsicle (1.89-1) unstable; urgency=medium * New upstream version 1.89. diff -Nru gifsicle-1.89/debian/compat gifsicle-1.90/debian/compat --- gifsicle-1.89/debian/compat 2017-07-23 18:17:21.000000000 +0000 +++ gifsicle-1.90/debian/compat 2017-08-20 18:49:45.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru gifsicle-1.89/debian/control gifsicle-1.90/debian/control --- gifsicle-1.89/debian/control 2017-07-23 18:17:39.000000000 +0000 +++ gifsicle-1.90/debian/control 2017-08-20 18:50:03.000000000 +0000 @@ -2,7 +2,7 @@ Section: graphics Priority: optional Maintainer: Herbert Parentes Fortes Neto -Build-Depends: debhelper (>= 9), dh-autoreconf, libx11-dev, libxdmcp-dev, libxau-dev, libsm-dev, libice-dev +Build-Depends: debhelper (>= 10), libx11-dev, libxdmcp-dev, libxau-dev, libsm-dev, libice-dev Homepage: http://www.lcdf.org/gifsicle/ Standards-Version: 4.0.0 Vcs-Git: https://anonscm.debian.org/cgit/collab-maint/gifsicle.git diff -Nru gifsicle-1.89/gifdiff.1 gifsicle-1.90/gifdiff.1 --- gifsicle-1.89/gifdiff.1 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/gifdiff.1 2017-08-14 16:24:35.000000000 +0000 @@ -1,5 +1,5 @@ .\" -*- mode: nroff -*- -.ds V 1.89 +.ds V 1.90 .ds E " \-\- .if t .ds E \(em .de Op diff -Nru gifsicle-1.89/gifsicle.1 gifsicle-1.90/gifsicle.1 --- gifsicle-1.89/gifsicle.1 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/gifsicle.1 2017-08-14 16:24:35.000000000 +0000 @@ -1,5 +1,5 @@ .\" -*- mode: nroff -*- -.ds V 1.89 +.ds V 1.90 .ds E " \-\- .if t .ds E \(em .de Op diff -Nru gifsicle-1.89/gifsicle.spec gifsicle-1.90/gifsicle.spec --- gifsicle-1.89/gifsicle.spec 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/gifsicle.spec 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -Summary: GIF image and animation manipulator - -Name: gifsicle -Version: 1.89 -Release: 1 -Source: http://www.lcdf.org/gifsicle/gifsicle-1.89.tar.gz - -Icon: logo1.gif -URL: http://www.lcdf.org/gifsicle/ - -Group: Applications/Graphics -Vendor: Little Cambridgeport Design Factory -Packager: Eddie Kohler -License: GPL - -BuildRoot: /tmp/gifsicle-build - -%description -Gifsicle manipulates GIF image files on the -command line. It supports merging several GIFs -into a GIF animation; exploding an animation into -its component frames; changing individual frames -in an animation; turning interlacing on and off; -adding transparency; adding delays, disposals, and -looping to animations; adding or removing -comments; optimizing animations for space; and -changing images' colormaps, among other things. - -The gifsicle package contains two other programs: -gifview, a lightweight GIF viewer for X, can show -animations as slideshows or in real time, and -gifdiff compares two GIFs for identical visual -appearance. - -%prep -%setup - -%build -%configure -make - -%install -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install - -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT - -%post - -%files -%attr(-,root,root) %doc NEWS README -%attr(0755,root,root) %{_bindir}/gifsicle -%attr(0755,root,root) %{_bindir}/gifdiff -%attr(0755,root,root) %{_bindir}/gifview -%attr(0644,root,root) %{_mandir}/man1/gifsicle.1* -%attr(0644,root,root) %{_mandir}/man1/gifdiff.1* -%attr(0644,root,root) %{_mandir}/man1/gifview.1* diff -Nru gifsicle-1.89/gifview.1 gifsicle-1.90/gifview.1 --- gifsicle-1.89/gifview.1 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/gifview.1 2017-08-14 16:24:35.000000000 +0000 @@ -1,5 +1,5 @@ .\" -*- mode: nroff -*- -.ds V 1.89 +.ds V 1.90 .ds E " \-\- .if t .ds E \(em .de Op diff -Nru gifsicle-1.89/Makefile.am gifsicle-1.90/Makefile.am --- gifsicle-1.89/Makefile.am 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/Makefile.am 2017-08-14 16:24:35.000000000 +0000 @@ -5,7 +5,7 @@ man_MANS = gifsicle.1 @OTHERMANS@ -EXTRA_DIST = COPYING README.md NEWS.md gifsicle.spec \ +EXTRA_DIST = COPYING README.md NEWS.md \ include/lcdf/clp.h include/lcdf/inttypes.h \ include/lcdfgif/gif.h include/lcdfgif/gifx.h \ gifsicle.1 gifview.1 gifdiff.1 logo.gif logo1.gif \ @@ -34,33 +34,8 @@ versionize: perl -pi -e "s/^\\.ds V.*/.ds V $(VERSION)/;" $(top_srcdir)/gifsicle.1 $(top_srcdir)/gifview.1 $(top_srcdir)/gifdiff.1 - perl -pi -e "s/^Version:(\s+).*/Version:"'$$'"{1}$(VERSION)/; s/$(PACKAGE)-[\w.]+\.tar\.gz/$(PACKAGE)-$(VERSION).tar.gz/;" $(top_srcdir)/gifsicle.spec perl -pi -e "s/gifsicle [\d.]+/gifsicle $(VERSION)/; s/VERSION \"[\w.]+/VERSION \"$(VERSION)/;" $(top_srcdir)/src/win32cfg.h -rpm: dist - buildarch=`rpm --showrc | awk '/^build arch/ { print $$4; }'` ; \ - mkdir -p /tmp/rpm-gfs/SOURCES /tmp/rpm-gfs/RPMS/$$buildarch \ - /tmp/rpm-gfs/BUILD ; \ - echo 'include: /usr/lib/rpm/rpmrc' > /tmp/rpm-gfs/rc ; \ - echo 'macrofiles: /usr/lib/rpm/macros:/tmp/rpm-gfs/macros' >> /tmp/rpm-gfs/rc ; \ - echo '%_topdir /tmp/rpm-gfs' > /tmp/rpm-gfs/macros ; \ - cp logo1.gif $(PACKAGE)-$(VERSION).tar.gz /tmp/rpm-gfs/SOURCES ; \ - rpmbuild --rcfile /tmp/rpm-gfs/rc -bb gifsicle.spec ; \ - cp /tmp/rpm-gfs/RPMS/$$buildarch/*.rpm . - rm -rf /tmp/rpm-gfs - -rpm-ungif: dist - buildarch=`rpm --showrc | awk '/^build arch/ { print $$4; }'` ; \ - mkdir -p /tmp/rpm-ugfs/SOURCES /tmp/rpm-ugfs/RPMS/$$buildarch \ - /tmp/rpm-ugfs/BUILD ; \ - echo 'include: /usr/lib/rpm/rpmrc' > /tmp/rpm-ugfs/rc ; \ - echo 'macrofiles: /usr/lib/rpm/macros:/tmp/rpm-ugfs/macros' >> /tmp/rpm-ugfs/rc ; \ - echo '%_topdir /tmp/rpm-ugfs' > /tmp/rpm-ugfs/macros ; \ - cp logo1.gif $(PACKAGE)-$(VERSION).tar.gz /tmp/rpm-ugfs/SOURCES ; \ - GIFSICLE_UNGIF=yes rpmbuild --rcfile /tmp/rpm-ugfs/rc -bb gifsicle.spec ; \ - cp /tmp/rpm-ugfs/RPMS/$$buildarch/*.rpm `echo /tmp/rpm-ugfs/RPMS/$$buildarch/*.rpm | sed 's/.*gifsicle/ungifsicle/'` - rm -rf /tmp/rpm-ugfs - dist-ungif: dist $(AMTAR) xzf gifsicle-$(VERSION).tar.gz @rm gifsicle-$(VERSION)/src/gifwrite.c diff -Nru gifsicle-1.89/NEWS.md gifsicle-1.90/NEWS.md --- gifsicle-1.89/NEWS.md 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/NEWS.md 2017-08-14 16:24:35.000000000 +0000 @@ -1,6 +1,11 @@ Gifsicle NEWS ============= +## Version 1.90 – 14.Aug.2017 + +* Kill a use-after-free error reported by @junxzm1990. + + ## Version 1.89 - 11.Jul.2017 * Add SIMD support for resizing. When enabled this improves resize diff -Nru gifsicle-1.89/README.md gifsicle-1.90/README.md --- gifsicle-1.89/README.md 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/README.md 2017-08-14 16:24:35.000000000 +0000 @@ -26,8 +26,8 @@ including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. -See `NEWS` in this directory for changes in recent versions. The Gifsicle home -page is: +See `NEWS.md` in this directory for changes in recent versions. The Gifsicle +home page is: http://www.lcdf.org/gifsicle/ diff -Nru gifsicle-1.89/src/gifread.c gifsicle-1.90/src/gifread.c --- gifsicle-1.89/src/gifread.c 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/src/gifread.c 2017-08-14 16:24:35.000000000 +0000 @@ -827,6 +827,7 @@ goto done; else if (!read_image(grr, &gfc, gfi, read_flags)) { Gif_RemoveImage(gfs, gfs->nimages - 1); + gfi = 0; goto done; } diff -Nru gifsicle-1.89/src/win32cfg.h gifsicle-1.90/src/win32cfg.h --- gifsicle-1.89/src/win32cfg.h 2017-07-11 19:29:26.000000000 +0000 +++ gifsicle-1.90/src/win32cfg.h 2017-08-14 16:24:35.000000000 +0000 @@ -77,7 +77,7 @@ #define PACKAGE_NAME "gifsicle" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "gifsicle 1.89" +#define PACKAGE_STRING "gifsicle 1.90" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gifsicle" @@ -86,7 +86,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.89" +#define PACKAGE_VERSION "1.90" /* Pathname separator character ('/' on Unix). */ #define PATHNAME_SEPARATOR '\\' @@ -111,7 +111,7 @@ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "1.89 (Windows)" +#define VERSION "1.90 (Windows)" /* Define if X is not available. */ #define X_DISPLAY_MISSING 1