Hello community,
here is the log from the commit of package karchive for openSUSE:Factory checked in at 2019-04-19 21:20:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/karchive (Old)
and /work/SRC/openSUSE:Factory/.karchive.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "karchive"
Fri Apr 19 21:20:54 2019 rev:65 rq:695200 version:5.57.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/karchive/karchive.changes 2019-03-21 09:44:20.774924551 +0100
+++ /work/SRC/openSUSE:Factory/.karchive.new.5536/karchive.changes 2019-04-19 21:22:11.667706901 +0200
@@ -1,0 +2,14 @@
+Sun Apr 14 20:21:41 UTC 2019 - lbeltrame@kde.org
+
+- Update to 5.57.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.57.0.php
+- Changes since 5.56.0:
+ * Fix crash in KArchive::findOrCreate with broken files
+ * Fix uninitialized memory read in KZip
+ * 0 -> nullptr
+ * Add Q_OBJECT to KFilterDev
+ * Port qSort
+
+-------------------------------------------------------------------
Old:
----
karchive-5.56.0.tar.xz
New:
----
karchive-5.57.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ karchive.spec ++++++
--- /var/tmp/diff_new_pack.Vsjvrt/_old 2019-04-19 21:22:12.427707870 +0200
+++ /var/tmp/diff_new_pack.Vsjvrt/_new 2019-04-19 21:22:12.439707884 +0200
@@ -17,13 +17,13 @@
%define lname libKF5Archive5
-%define _tar_path 5.56
+%define _tar_path 5.57
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
Name: karchive
-Version: 5.56.0
+Version: 5.57.0
Release: 0
Summary: Qt 5 addon providing access to numerous types of archives
License: LGPL-2.1-or-later
++++++ karchive-5.56.0.tar.xz -> karchive-5.57.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.56.0/.gitignore new/karchive-5.57.0/.gitignore
--- old/karchive-5.56.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/karchive-5.57.0/.gitignore 2019-04-07 09:16:42.000000000 +0200
@@ -0,0 +1,21 @@
+# Ignore the following files
+*~
+*.[oa]
+*.diff
+*.kate-swp
+*.kdev4
+.kdev_include_paths
+*.kdevelop.pcs
+*.moc
+*.moc.cpp
+*.orig
+*.user
+.*.swp
+.swp.*
+Doxyfile
+Makefile
+avail
+random_seed
+/build*/
+CMakeLists.txt.user*
+*.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.56.0/CMakeLists.txt new/karchive-5.57.0/CMakeLists.txt
--- old/karchive-5.56.0/CMakeLists.txt 2019-03-02 14:24:18.000000000 +0100
+++ new/karchive-5.57.0/CMakeLists.txt 2019-04-07 09:16:42.000000000 +0200
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.56.0") # handled by release scripts
+set(KF5_VERSION "5.57.0") # handled by release scripts
project(KArchive VERSION ${KF5_VERSION})
include(FeatureSummary)
-find_package(ECM 5.56.0 NO_MODULE)
+find_package(ECM 5.57.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.56.0/src/karchive.cpp new/karchive-5.57.0/src/karchive.cpp
--- old/karchive-5.56.0/src/karchive.cpp 2019-03-02 14:24:18.000000000 +0100
+++ new/karchive-5.57.0/src/karchive.cpp 2019-04-07 09:16:42.000000000 +0200
@@ -492,6 +492,10 @@
parent = findOrCreate(left); // recursive call... until we find an existing dir.
}
+ if (!parent) {
+ return nullptr;
+ }
+
//qCDebug(KArchiveLog) << "found parent " << parent->name() << " adding " << dirname << " to ensure " << path;
// Found -> add the missing piece
KArchiveDirectory *e = new KArchiveDirectory(this, dirname, d->rootDir->permissions(),
@@ -939,7 +943,7 @@
}
} while (!dirStack.isEmpty());
- qSort(fileList.begin(), fileList.end(), sortByPosition); // sort on d->pos, so we have a linear access
+ std::sort(fileList.begin(), fileList.end(), sortByPosition); // sort on d->pos, so we have a linear access
for (QList