Hello community, here is the log from the commit of package jpegoptim for openSUSE:Factory checked in at 2018-04-20 17:29:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jpegoptim (Old) and /work/SRC/openSUSE:Factory/.jpegoptim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jpegoptim" Fri Apr 20 17:29:28 2018 rev:3 rq:597816 version:1.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/jpegoptim/jpegoptim.changes 2018-04-02 22:49:15.341782796 +0200 +++ /work/SRC/openSUSE:Factory/.jpegoptim.new/jpegoptim.changes 2018-04-20 17:31:13.330726597 +0200 @@ -1,0 +2,6 @@ +Wed Apr 18 14:28:21 UTC 2018 - [email protected] + +- Update to 1.4.6. + * Fix double free introduced in previous release. + +------------------------------------------------------------------- Old: ---- jpegoptim-1.4.5.tar.gz jpegoptim-1.4.5.tar.gz.sig New: ---- jpegoptim-1.4.6.tar.gz jpegoptim-1.4.6.tar.gz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jpegoptim.spec ++++++ --- /var/tmp/diff_new_pack.hDbWyR/_old 2018-04-20 17:31:14.090699039 +0200 +++ /var/tmp/diff_new_pack.hDbWyR/_new 2018-04-20 17:31:14.090699039 +0200 @@ -1,7 +1,7 @@ # # spec file for package jpegoptim # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,16 @@ Name: jpegoptim -Version: 1.4.5 +Version: 1.4.6 Release: 0 Summary: Utility for Optimizing JPEG Files -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Graphics/Other -Url: http://www.kokkonen.net/tjko/projects.html +URL: http://www.kokkonen.net/tjko/projects.html Source0: http://www.kokkonen.net/tjko/src/%{name}-%{version}.tar.gz Source1: http://www.kokkonen.net/tjko/src/%{name}-%{version}.tar.gz.sig Source2: %{name}.keyring BuildRequires: libjpeg-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description jpegoptim is a utility for optimizing JPEG files. It provides lossless @@ -42,11 +41,11 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +%make_install %files -%defattr(-,root,root,-) -%doc COPYING COPYRIGHT README +%license COPYING COPYRIGHT +%doc README %{_bindir}/%{name} %{_mandir}/man?/* ++++++ jpegoptim-1.4.5.tar.gz -> jpegoptim-1.4.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpegoptim-1.4.5/Makefile.in new/jpegoptim-1.4.6/Makefile.in --- old/jpegoptim-1.4.5/Makefile.in 2018-03-31 08:59:50.000000000 +0200 +++ new/jpegoptim-1.4.6/Makefile.in 2018-04-18 06:00:04.000000000 +0200 @@ -1,9 +1,9 @@ ######################################################################### -# $Id: 981905b4e4f1a1143bce3b31176397a62d55067d $ +# $Id: cd39ce6ac2d9135108bba318a13d420b217305a7 $ # # Makefile for jpegoptim # -Version = 1.4.5 +Version = 1.4.6 PKGNAME = jpegoptim SHELL = /bin/sh @@ -36,7 +36,7 @@ XCPPFLAGS = @CPPFLAGS@ CFLAGS = @CFLAGS@ $(XCPPFLAGS) $(DEFS) #CFLAGS += -Wall -Wformat -Werror=format-security -#CFLAGS += -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fsanitize=address +#CFLAGS += -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fsanitize=address,undefined LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ STRIP = strip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpegoptim-1.4.5/README new/jpegoptim-1.4.6/README --- old/jpegoptim-1.4.5/README 2018-03-31 08:59:50.000000000 +0200 +++ new/jpegoptim-1.4.6/README 2018-04-18 06:00:04.000000000 +0200 @@ -1,5 +1,5 @@ -Jpegoptim v1.4.5 - Copyright (C) Timo Kokkonen, 1996-2018. All Rights Reserved. +Jpegoptim v1.4.6 - Copyright (C) Timo Kokkonen, 1996-2018. All Rights Reserved. REQUIREMENTS @@ -19,8 +19,8 @@ tar file, make necessary changes to the Makefile, and then compile the program. You may wanna do something like this: - zcat jpegoptim-1.4.5.tar.gz | tar xf - - cd jpegoptim-1.4.5 + zcat jpegoptim-1.4.6.tar.gz | tar xf - + cd jpegoptim-1.4.6 ./configure make make strip @@ -28,6 +28,7 @@ HISTORY + v1.4.6 - fix double free introduced in previous release v1.4.5 - fix --overwrite option, better error reporting for -d option, fix memcmp() potentially reading past end of buffer, @@ -96,5 +97,5 @@ Timo <[email protected]> -30-Mar-2018 $Id: 0047596655aed6d4e6cb2095d5ce9d888430ce88 $ +17-Apr-2018 $Id: 8c51a3e33cd6c16b888f1032f7f553d1f0ecf5c8 $ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpegoptim-1.4.5/jpegdest.c new/jpegoptim-1.4.6/jpegdest.c --- old/jpegoptim-1.4.5/jpegdest.c 2018-03-31 08:59:50.000000000 +0200 +++ new/jpegoptim-1.4.6/jpegdest.c 2018-04-18 06:00:04.000000000 +0200 @@ -6,7 +6,7 @@ * * custom libjpeg "Destination Manager" for saving into RAM * - * $Id: 5f79e39501830abee802650b05b81f7827c3ba8f $ + * $Id: 2689b6f6dc660d3386bf5c0ca3ea2e616faa46f7 $ */ #include <stdio.h> @@ -62,6 +62,7 @@ dest->pub.next_output_byte = newbuf + dest->bufsize; dest->pub.free_in_buffer = dest->incsize; + *dest->buf_ptr = newbuf; dest->buf = newbuf; dest->bufsize += dest->incsize; dest->incsize *= 2; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpegoptim-1.4.5/jpegoptim.1 new/jpegoptim-1.4.6/jpegoptim.1 --- old/jpegoptim-1.4.5/jpegoptim.1 2018-03-31 08:59:50.000000000 +0200 +++ new/jpegoptim-1.4.6/jpegoptim.1 2018-04-18 06:00:04.000000000 +0200 @@ -1,4 +1,4 @@ -.TH JPEGOPTIM 1 "15 Aug 2016" +.TH JPEGOPTIM 1 "17 Apr 2018" .UC 4 .SH NAME jpegoptim \- utility to optimize/compress JPEG/JFIF files. @@ -170,7 +170,7 @@ Timo Kokkonen <[email protected]> .SH COPYING -Copyright (C) 1996-2016 Timo Kokkonen +Copyright (C) 1996-2018 Timo Kokkonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpegoptim-1.4.5/jpegoptim.c new/jpegoptim-1.4.6/jpegoptim.c --- old/jpegoptim-1.4.5/jpegoptim.c 2018-03-31 08:59:50.000000000 +0200 +++ new/jpegoptim-1.4.6/jpegoptim.c 2018-04-18 06:00:04.000000000 +0200 @@ -6,7 +6,7 @@ * requires libjpeg (Independent JPEG Group's JPEG software * release 6a or later...) * - * $Id: 4a81f768fff5ea2c15fe80a211b72abaeaeb3b0a $ + * $Id: 74017e528ed731e76a8d244d80cf8db865aaaf76 $ */ #ifdef HAVE_CONFIG_H @@ -34,7 +34,7 @@ #include "jpegoptim.h" -#define VERSIO "1.4.5" +#define VERSIO "1.4.6" #define COPYRIGHT "Copyright (C) 1996-2018, Timo Kokkonen" @@ -56,7 +56,7 @@ }; typedef struct my_error_mgr * my_error_ptr; -const char *rcsid = "$Id: 4a81f768fff5ea2c15fe80a211b72abaeaeb3b0a $"; +const char *rcsid = "$Id: 74017e528ed731e76a8d244d80cf8db865aaaf76 $"; int verbose_mode = 0; @@ -199,7 +199,10 @@ printf(PROGRAMNAME " v%s %s\n",VERSIO,HOST_TYPE); - printf(COPYRIGHT "\n"); + printf(COPYRIGHT "\n\n"); + printf("This program comes with ABSOLUTELY NO WARRANTY. This is free software,\n" + "and you are welcome to redistirbute it under certain conditions.\n" + "See the GNU General Public License for more details.\n\n"); if (!(err=jpeg_std_error(&jcerr))) fatal("jpeg_std_error() failed"); @@ -896,7 +899,7 @@ average_count, average_rate/average_count, total_save); jpeg_destroy_decompress(&dinfo); jpeg_destroy_compress(&cinfo); - free (outbuffer); + free(outbuffer); return (decompress_err_count > 0 || compress_err_count > 0 ? 1 : 0);; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jpegoptim-1.4.5/redhat/jpegoptim.spec new/jpegoptim-1.4.6/redhat/jpegoptim.spec --- old/jpegoptim-1.4.5/redhat/jpegoptim.spec 2018-03-31 08:59:50.000000000 +0200 +++ new/jpegoptim-1.4.6/redhat/jpegoptim.spec 2018-04-18 06:00:04.000000000 +0200 @@ -1,6 +1,6 @@ Summary: Utility for optimizing/compressing JPEG files. Name: jpegoptim -Version: 1.4.5 +Version: 1.4.6 Release: 1 License: GPL Group: Applications/Multimedia
