Hello community,

here is the log from the commit of package gifsicle for openSUSE:Factory 
checked in at 2017-10-02 16:53:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gifsicle (Old)
 and      /work/SRC/openSUSE:Factory/.gifsicle.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gifsicle"

Mon Oct  2 16:53:00 2017 rev:6 rq:529879 version:1.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/gifsicle/gifsicle.changes        2017-08-18 
15:06:49.933634948 +0200
+++ /work/SRC/openSUSE:Factory/.gifsicle.new/gifsicle.changes   2017-10-02 
16:53:05.315782681 +0200
@@ -1,0 +2,6 @@
+Wed Sep 27 22:40:38 UTC 2017 - [email protected]
+
+- add fix-null-deref.patch:
+    upstream fix, commit f1b8e6323a8fdd029847b7efd400d5fc2ac9aecc
+
+-------------------------------------------------------------------

New:
----
  fix-null-deref.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gifsicle.spec ++++++
--- /var/tmp/diff_new_pack.h3lAuL/_old  2017-10-02 16:53:05.971690619 +0200
+++ /var/tmp/diff_new_pack.h3lAuL/_new  2017-10-02 16:53:05.971690619 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Graphics/Other
 Url:            https://www.lcdf.org/gifsicle/
 Source:         https://www.lcdf.org/gifsicle/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-null-deref.patch
+Patch0:         fix-null-deref.patch
 Obsoletes:      ungifsicle < %{version}
 Provides:       ungifsicle = %{version}
 BuildRequires:  pkgconfig(x11)
@@ -50,6 +52,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ fix-null-deref.patch ++++++
>From f1b8e6323a8fdd029847b7efd400d5fc2ac9aecc Mon Sep 17 00:00:00 2001
From: Eddie Kohler <[email protected]>
Date: Tue, 26 Sep 2017 08:46:13 -0700
Subject: [PATCH] Don't release the uncompressed image if it's all there is.

Fix #115, #116 issues reported by Zhao Liang, Huawei Weiran Labs.
---
 src/support.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/support.c b/src/support.c
index e48075c..7978974 100644
--- a/src/support.c
+++ b/src/support.c
@@ -1405,7 +1405,7 @@ analyze_crop(int nmerger, Gt_Crop* crop, int 
compress_immediately)
           }
 
         found_right:
-          if (compress_immediately > 0)
+          if (compress_immediately > 0 && srci->compressed)
             Gif_ReleaseUncompressedImage(srci);
         }
 

Reply via email to