Hello community, here is the log from the commit of package libebml for openSUSE:Factory checked in at 2018-08-02 14:56:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libebml (Old) and /work/SRC/openSUSE:Factory/.libebml.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libebml" Thu Aug 2 14:56:27 2018 rev:43 rq:626514 version:1.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libebml/libebml.changes 2017-08-28 16:16:46.878046413 +0200 +++ /work/SRC/openSUSE:Factory/.libebml.new/libebml.changes 2018-08-02 14:56:28.912110059 +0200 @@ -1,0 +2,21 @@ +Mon Jul 30 17:03:28 UTC 2018 - [email protected] + +- Added fix-EbmlSInteger-limits.patch from upstream. + * Fixes build with openSUSE <= 42.3 + +------------------------------------------------------------------- +Mon Jul 30 16:50:05 UTC 2018 - [email protected] + +- Update to 1.3.6: + * Fixed undefined behavior when reading signed integers with + negative values from files. + * Fixed a small memory leak when reading an element runs into an + I/O exception (e.g. due to having reached the end of the file). + * Fixed the EbmlMaster::GetDataStart() function returning wrong + values for elements with an infinite/unknown size. + * Fixed finding the next element ID when garbage data is + encountered during the scan for the ID. + * Fixed several potential situations where reading child element + data could exceed the parent element's size. + +------------------------------------------------------------------- Old: ---- libebml-1.3.5.tar.xz New: ---- fix-EbmlSInteger-limits.patch libebml-1.3.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libebml.spec ++++++ --- /var/tmp/diff_new_pack.uJmXP8/_old 2018-08-02 14:56:29.572111165 +0200 +++ /var/tmp/diff_new_pack.uJmXP8/_new 2018-08-02 14:56:29.576111172 +0200 @@ -1,7 +1,7 @@ # # spec file for package libebml # -# Copyright (c) 2017 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 @@ -18,18 +18,21 @@ %define soname 4 Name: libebml -Version: 1.3.5 +Version: 1.3.6 Release: 0 Summary: Library to parse EBML (Extensible Binary Markup Language) files -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Url: http://www.matroska.org/ #Git-Clone: git://github.com/Matroska-Org/libebml #Git-Web: https://github.com/Matroska-Org/libebml -Source: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.xz +Source: https://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.xz Source100: baselibs.conf +# PATCH-FIX-UPSTREAM fix-EbmlSInteger-limits.patch -- https://github.com/Matroska-Org/libebml/commit/e46906b80e7662fb78d305f576412f9fa4a22218 +Patch0: fix-EbmlSInteger-limits.patch +BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkgconfig +BuildRequires: pkg-config %description libebml is a C++ library to parse EBML files. See the EBML RFC at @@ -56,13 +59,14 @@ %prep %setup -q +%patch0 -p1 %build -%configure --disable-static +%cmake +make %{?_smp_mflags} %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%cmake_install %post -n libebml%{soname} -p /sbin/ldconfig %postun -n libebml%{soname} -p /sbin/ldconfig @@ -73,6 +77,7 @@ %files devel %{_libdir}/libebml.so %{_libdir}/pkgconfig/*.pc +%{_libdir}/cmake/ebml %{_includedir}/ebml/ %changelog ++++++ fix-EbmlSInteger-limits.patch ++++++ diff -Nur libebml-1.3.6/src/EbmlSInteger.cpp new/src/EbmlSInteger.cpp --- libebml-1.3.6/src/EbmlSInteger.cpp 2018-04-20 20:27:20.000000000 +0200 +++ new/src/EbmlSInteger.cpp 2018-07-30 19:02:08.106690071 +0200 @@ -33,7 +33,7 @@ \author Moritz Bunkus <moritz @ bunkus.org> */ #include <cassert> -#include <climits> +#include <limits> #include "ebml/EbmlSInteger.h" ++++++ libebml-1.3.5.tar.xz -> libebml-1.3.6.tar.xz ++++++ ++++ 46799 lines of diff (skipped)
