Accepting request 819974 from home:mnhauke
- Update to version 1.3.7 * Fix CVE-2018-10392 and CVE-2018-10393 - out-of-bounds read encoding very low sample rates * Fix CVE-2017-14160 - out-of-bounds read encoding very low sample rates. * Fix handling invalid bytes per sample arguments. * Fix handling invalid channel count arguments. * Fix invalid free on seek failure. * Fix negative shift reading blocksize. * Fix accepting unreasonable float32 values. * Fix tag comparison depending on locale. * Fix unnecessarily linking libm. * Fix memory leak in test_sharedbook. * Distribute CMake build files with the source package. * Remove unnecessary configure --target switch. * Add OSS-Fuzz support. * Build system and integration updates. - Drop not longer needed patches (fixed by upstream): * vorbis-CVE-2017-14160.patch * vorbis-CVE-2018-10392.patch * vorbis-CVE-2018-10393.patch - Add source verification OBS-URL: https://build.opensuse.org/request/show/819974 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvorbis?expand=0&rev=64
This commit is contained in:
parent
fbe442c70d
commit
48310b6f69
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af00bb5a784e7c9e69f56823de4637c350643deedaf333d0fa86ecdba6fcb415
|
||||
size 1195388
|
BIN
libvorbis-1.3.7.tar.xz
(Stored with Git LFS)
Normal file
BIN
libvorbis-1.3.7.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
16
libvorbis-1.3.7.tar.xz.asc
Normal file
16
libvorbis-1.3.7.tar.xz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEt7AK7h+WDuoP7Wb7klmo8tLUTIQFAl8AIpkACgkQklmo8tLU
|
||||
TIRcpBAArhcRWPNa+goaPGs0pvfgRHwxGTMNKbd8PDHhDL8yXQnYEzRktgCfwcXZ
|
||||
+4yd1hoLMFOd1IyBASoCaxk05lbDhGKVHZo3jhxKztxweXvdgYl/dwmZTmN/EO1K
|
||||
e3RycUYrJ18S4ujdCBxbYTVf6+0rsGL+UYo8rtHtyrKSGuwHqUEq+gtwVPS7U836
|
||||
Pbgxpin+CwElGRrZLEfh3fUTYnIjZYmlaUcplQdkZuFgSxP1t40InjmwkP+gQfSk
|
||||
kPfxoqSDH7EgVzOOl8jFxVxyHVUKYbJ4LYnP1E6of1RxOQW7QBxaUY3/i/B6XDTD
|
||||
cME7BAdr1ogXiDnasDYZzsbK+ySvtlylK6kqdvhHHfHtC1sMj/WnUniwE+I5k7IC
|
||||
yLArvQyk9okdGCw20tH2Kp3nOVXicoqgIUVQ6LoYusSjccgFYPqAqe50i1iuohRA
|
||||
W9Nj5jDd0kyf0pngBJn8y/KXThtsbPw//CIVi7amb3kkHUb8O3CJlRfO18wsmvmK
|
||||
0iBtUUp3E0rL3I7aJnZLIZAppV+yO3hbUJCiPT0YyVdh7o+RCsTV1+XIQcaBrg0V
|
||||
ThmTUggXO5keuuvu39P3OQakLarAiQcGJqpGekzeJ/q5WTxxvegeqOC0rCgDW7tY
|
||||
9md0WZ9ATOqrrDfcwp2vCLpleiPUuvrfl8ceEts6WSibqN7Gcg4=
|
||||
=ZAOg
|
||||
-----END PGP SIGNATURE-----
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libvorbis-doc
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@ -23,13 +23,15 @@
|
||||
%endif
|
||||
|
||||
Name: libvorbis-doc
|
||||
Version: 1.3.6
|
||||
Version: 1.3.7
|
||||
Release: 0
|
||||
Summary: Documentation of Ogg/Vorbis library
|
||||
License: BSD-3-Clause
|
||||
Group: Documentation/Other
|
||||
Url: http://www.vorbis.com/
|
||||
Source: http://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.xz
|
||||
URL: https://www.vorbis.com/
|
||||
Source: https://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.xz
|
||||
Source1: https://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.xz.asc
|
||||
Source99: libvorbis.keyring
|
||||
Patch1: libvorbis-lib64.dif
|
||||
Patch2: libvorbis-m4.dif
|
||||
Patch12: vorbis-ocloexec.patch
|
||||
|
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 10:14:43 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 1.3.7
|
||||
* Fix CVE-2018-10392 and CVE-2018-10393 - out-of-bounds read
|
||||
encoding very low sample rates
|
||||
* Fix CVE-2017-14160 - out-of-bounds read encoding very low
|
||||
sample rates.
|
||||
* Fix handling invalid bytes per sample arguments.
|
||||
* Fix handling invalid channel count arguments.
|
||||
* Fix invalid free on seek failure.
|
||||
* Fix negative shift reading blocksize.
|
||||
* Fix accepting unreasonable float32 values.
|
||||
* Fix tag comparison depending on locale.
|
||||
* Fix unnecessarily linking libm.
|
||||
* Fix memory leak in test_sharedbook.
|
||||
* Distribute CMake build files with the source package.
|
||||
* Remove unnecessary configure --target switch.
|
||||
* Add OSS-Fuzz support.
|
||||
* Build system and integration updates.
|
||||
- Drop not longer needed patches (fixed by upstream):
|
||||
* vorbis-CVE-2017-14160.patch
|
||||
* vorbis-CVE-2018-10392.patch
|
||||
* vorbis-CVE-2018-10393.patch
|
||||
- Add source verification
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 11:37:54 CEST 2018 - tiwai@suse.de
|
||||
|
||||
|
51
libvorbis.keyring
Normal file
51
libvorbis.keyring
Normal file
@ -0,0 +1,51 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
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mR0NP/B
|
||||
ziJMnjt238S8
|
||||
=MNJb
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libvorbis
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,25 +12,24 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: libvorbis
|
||||
Version: 1.3.6
|
||||
Version: 1.3.7
|
||||
Release: 0
|
||||
Summary: The Vorbis General Audio Compression Codec
|
||||
License: BSD-3-Clause
|
||||
Group: System/Libraries
|
||||
Url: http://www.vorbis.com/
|
||||
Source: http://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
URL: http://www.vorbis.com/
|
||||
Source: https://downloads.xiph.org/releases/vorbis/%{name}-%{version}.tar.xz
|
||||
Source1: https://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.xz.asc
|
||||
Source10: baselibs.conf
|
||||
Source99: libvorbis.keyring
|
||||
Patch1: libvorbis-lib64.dif
|
||||
Patch2: libvorbis-m4.dif
|
||||
Patch12: vorbis-ocloexec.patch
|
||||
Patch101: vorbis-CVE-2017-14160.patch
|
||||
Patch102: vorbis-CVE-2018-10393.patch
|
||||
Patch103: vorbis-CVE-2018-10392.patch
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
@ -119,9 +118,6 @@ if [ "%{_lib}" == "lib64" ]; then
|
||||
%patch1
|
||||
fi
|
||||
%patch12
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
||||
%build
|
||||
# Fix optimization level
|
||||
|
@ -1,27 +0,0 @@
|
||||
From 018ca26dece618457dd13585cad52941193c4a25 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Daede <daede003@umn.edu>
|
||||
Date: Wed, 9 May 2018 14:56:59 -0700
|
||||
Subject: [PATCH] CVE-2017-14160: fix bounds check on very low sample rates.
|
||||
|
||||
---
|
||||
lib/psy.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/psy.c b/lib/psy.c
|
||||
index 422c6f1e412d..13101230ea3a 100644
|
||||
--- a/lib/psy.c
|
||||
+++ b/lib/psy.c
|
||||
@@ -602,8 +602,9 @@ static void bark_noise_hybridmp(int n,const long *b,
|
||||
for (i = 0, x = 0.f;; i++, x += 1.f) {
|
||||
|
||||
lo = b[i] >> 16;
|
||||
- if( lo>=0 ) break;
|
||||
hi = b[i] & 0xffff;
|
||||
+ if( lo>=0 ) break;
|
||||
+ if( hi>=n ) break;
|
||||
|
||||
tN = N[hi] + N[-lo];
|
||||
tX = X[hi] - X[-lo];
|
||||
--
|
||||
2.17.0
|
||||
|
@ -1,20 +0,0 @@
|
||||
From 112d3bd0aaacad51305e1464d4b381dabad0e88b Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Daede <daede003@umn.edu>
|
||||
Date: Thu, 17 May 2018 16:19:19 -0700
|
||||
Subject: [PATCH] Sanity check number of channels in setup.
|
||||
|
||||
Fixes #2335.
|
||||
---
|
||||
lib/vorbisenc.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/lib/vorbisenc.c
|
||||
+++ b/lib/vorbisenc.c
|
||||
@@ -684,6 +684,7 @@ int vorbis_encode_setup_init(vorbis_info
|
||||
highlevel_encode_setup *hi=&ci->hi;
|
||||
|
||||
if(ci==NULL)return(OV_EINVAL);
|
||||
+ if(vi->channels<1||vi->channels>255)return(OV_EINVAL);
|
||||
if(!hi->impulse_block_p)i0=1;
|
||||
|
||||
/* too low/high an ATH floater is nonsensical, but doesn't break anything */
|
@ -1,38 +0,0 @@
|
||||
---
|
||||
lib/psy.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
--- a/lib/psy.c
|
||||
+++ b/lib/psy.c
|
||||
@@ -605,6 +605,7 @@ static void bark_noise_hybridmp(int n,co
|
||||
hi = b[i] & 0xffff;
|
||||
if( lo>=0 ) break;
|
||||
if( hi>=n ) break;
|
||||
+ if( -lo >=n ) break;
|
||||
|
||||
tN = N[hi] + N[-lo];
|
||||
tX = X[hi] - X[-lo];
|
||||
@@ -627,6 +628,7 @@ static void bark_noise_hybridmp(int n,co
|
||||
lo = b[i] >> 16;
|
||||
hi = b[i] & 0xffff;
|
||||
if(hi>=n)break;
|
||||
+ if(lo >=n)break;
|
||||
|
||||
tN = N[hi] - N[lo];
|
||||
tX = X[hi] - X[lo];
|
||||
@@ -656,6 +658,7 @@ static void bark_noise_hybridmp(int n,co
|
||||
hi = i + fixed / 2;
|
||||
lo = hi - fixed;
|
||||
if(lo>=0)break;
|
||||
+ if( hi>=n || -lo >=n ) break;
|
||||
|
||||
tN = N[hi] + N[-lo];
|
||||
tX = X[hi] - X[-lo];
|
||||
@@ -676,6 +679,7 @@ static void bark_noise_hybridmp(int n,co
|
||||
hi = i + fixed / 2;
|
||||
lo = hi - fixed;
|
||||
if(hi>=n)break;
|
||||
+ if( hi>=n || lo >=n ) break;
|
||||
|
||||
tN = N[hi] - N[lo];
|
||||
tX = X[hi] - X[lo];
|
Loading…
x
Reference in New Issue
Block a user