Hello community,

here is the log from the commit of package aegisub for openSUSE:Factory checked 
in at 2019-02-15 10:03:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/aegisub (Old)
 and      /work/SRC/openSUSE:Factory/.aegisub.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "aegisub"

Fri Feb 15 10:03:47 2019 rev:29 rq:676193 version:3.2.2+git20180710

Changes:
--------
--- /work/SRC/openSUSE:Factory/aegisub/aegisub.changes  2018-09-04 
22:55:55.984952327 +0200
+++ /work/SRC/openSUSE:Factory/.aegisub.new.28833/aegisub.changes       
2019-02-15 10:04:18.287588880 +0100
@@ -1,0 +2,7 @@
+Thu Feb 14 16:09:23 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
+
+- Add aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch
+  Fixes undefined behavior e.g. when scrolling the audio view in
+  spectrogram mode.
+
+-------------------------------------------------------------------

New:
----
  aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch

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

Other differences:
------------------
++++++ aegisub.spec ++++++
--- /var/tmp/diff_new_pack.VLaw3L/_old  2019-02-15 10:04:19.995588328 +0100
+++ /var/tmp/diff_new_pack.VLaw3L/_new  2019-02-15 10:04:20.015588321 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package aegisub
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -34,6 +34,8 @@
 Patch5:         luabins.patch
 #PATCH-FIX-OPENSUSE - davejpla...@gmail.com - aegisub-git-version.patch - 
Create git_version.h which is missing in git.
 Patch7:         aegisub-git-version.patch
+#PATCH-FIX-UPSTREAM - 9@cirno.systems - 
aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch - Fixes undefined 
behavior e.g. when scrolling the audio view in spectrogram mode.
+Patch8:         aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -71,6 +73,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch7
+%patch8 -p1
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
 sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes 
'+%%H:%%M:%%S')

++++++ aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch ++++++
>From 7479ffbd6d9cc9bf9786d1f1d9f0e6307198681f Mon Sep 17 00:00:00 2001
From: Martin Herkt <lach...@srsfckn.biz>
Date: Thu, 14 Feb 2019 14:52:27 +0100
Subject: [PATCH] DataBlockCache: Fix crash in cache invalidation

Fixes #33
---
 src/block_cache.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/block_cache.h b/src/block_cache.h
index 9fcaf42e7..f2ebfa261 100644
--- a/src/block_cache.h
+++ b/src/block_cache.h
@@ -150,8 +150,8 @@ public:
                }
 
                // Remove old entries until we're under the max size
-               for (auto it = age.rbegin(); size > max_size && it != 
age.rend(); )
-                       KillMacroBlock(**it++);
+               for (auto it = age.rbegin(); size > max_size && it != 
age.rend(); it++)
+                       KillMacroBlock(**it);
        }
 
        /// @brief Obtain a data block from the cache
-- 
2.20.1


Reply via email to