Accepting request 976020 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/976020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libid3tag?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2022-05-12 20:57:35 +00:00 committed by Git OBS Bridge
commit c6638a3448
5 changed files with 14 additions and 21 deletions

View File

@ -1,13 +0,0 @@
diff -rup libid3tag-0.16.1.orig/ucs4.c libid3tag-0.16.1/ucs4.c
--- libid3tag-0.16.1.orig/ucs4.c 2021-08-15 22:52:07.000000000 +0200
+++ libid3tag-0.16.1/ucs4.c 2022-04-08 09:47:54.980481313 +0200
@@ -39,6 +39,9 @@ id3_length_t id3_ucs4_length(id3_ucs4_t
{
id3_ucs4_t const *ptr = ucs4;
+ if (! ucs4)
+ return 0;
+
while (*ptr)
++ptr;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:185a6cec84644cf1aade8397dcf76753bcb3bd85ec2111a9e1079214ed85bef0
size 98074

BIN
libid3tag-0.16.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 9 17:01:41 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Update to 0.16.2
* Fix null pointer dereference in id3_ucs4_length
(boo#1081962, CVE-2017-11550)
- Drop id3_ucs4_length-sanity-check.patch. Merged upstream.
-------------------------------------------------------------------
Fri Apr 8 13:46:43 UTC 2022 - Manfred Hollstein <manfred.h@gmx.net>

View File

@ -16,9 +16,9 @@
#
%define lver 0_16_1
%define lver 0_16_2
Name: libid3tag
Version: 0.16.1
Version: 0.16.2
Release: 0
Summary: ID3 Tag Manipulation Library
License: GPL-2.0-or-later
@ -26,11 +26,10 @@ Group: Development/Libraries/C and C++
URL: https://github.com/tenacityteam/libid3tag
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch0: id3_ucs4_length-sanity-check.patch
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: gperf
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: pkgconfig(zlib)
%description
@ -56,7 +55,6 @@ develop applications with libid3tag.
%prep
%setup -q
%patch0 -p1
%build
%cmake