From 2b627022d34fa18fc041fa70e9bd67630e4058cf567c45bf8d5678e4807cdffc Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 4 Feb 2013 18:21:56 +0000 Subject: [PATCH] Accepting request 150860 from home:Zaitor:branches:multimedia:libs Update to latest stable, guess this should be ok now that 12.3 is branched. OBS-URL: https://build.opensuse.org/request/show/150860 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/opus?expand=0&rev=7 --- opus-1.0.1.tar.gz | 3 --- opus-1.0.2.tar.gz | 3 +++ ...read-issue-with-the-padding-handling.patch | 24 ------------------- opus.changes | 10 ++++++++ opus.spec | 5 +--- 5 files changed, 14 insertions(+), 31 deletions(-) delete mode 100644 opus-1.0.1.tar.gz create mode 100644 opus-1.0.2.tar.gz delete mode 100644 opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch diff --git a/opus-1.0.1.tar.gz b/opus-1.0.1.tar.gz deleted file mode 100644 index 5bfd314..0000000 --- a/opus-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80fa5c3caf2ac0fd68f8a22cce1564fc46b368c773a17554887d0066fe1841ef -size 767241 diff --git a/opus-1.0.2.tar.gz b/opus-1.0.2.tar.gz new file mode 100644 index 0000000..6d09b0f --- /dev/null +++ b/opus-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da615edbee5d019c1833071d69a4782c19f178cf9ca1401375036ecef25cd78a +size 777306 diff --git a/opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch b/opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch deleted file mode 100644 index 06e22e0..0000000 --- a/opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch +++ /dev/null @@ -1,24 +0,0 @@ -X-Git-Url: https://git.xiph.org/?p=opus.git;a=blobdiff_plain;f=src%2Fopus_decoder.c;h=0be6730d133c417fd87620b774029986dcee6efb;hp=167e4e4891e66dce7a65a6ca761fb58fb190267a;hb=9345aaa5ca1c2fb7d62981b2a538e0ce20612c38;hpb=b05aa1dd763fe238c6e928385664e86bd66118e7 - -diff --git a/src/opus_decoder.c b/src/opus_decoder.c -index 167e4e4..0be6730 100644 ---- a/src/opus_decoder.c -+++ b/src/opus_decoder.c -@@ -641,16 +641,14 @@ static int opus_packet_parse_impl(const unsigned char *data, opus_int32 len, - /* Padding flag is bit 6 */ - if (ch&0x40) - { -- int padding=0; - int p; - do { - if (len<=0) - return OPUS_INVALID_PACKET; - p = *data++; - len--; -- padding += p==255 ? 254: p; -+ len -= p==255 ? 254: p; - } while (p==255); -- len -= padding; - } - if (len<0) - return OPUS_INVALID_PACKET; diff --git a/opus.changes b/opus.changes index 8d3cc2e..3bfd62b 100644 --- a/opus.changes +++ b/opus.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Feb 2 15:21:36 UTC 2013 - zaitor@opensuse.org + +- Update to version 1.0.2: + + Fix an out-of-bounds read security issue. + + Fixes and improvements to the PLC and hybrid mode quality. +- Drop + opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch + Fixed upstream. + ------------------------------------------------------------------- Sun Jan 13 20:13:46 UTC 2013 - zaitor@opensuse.org diff --git a/opus.spec b/opus.spec index aff210b..41ab75f 100644 --- a/opus.spec +++ b/opus.spec @@ -18,7 +18,7 @@ Name: opus -Version: 1.0.1 +Version: 1.0.2 Release: 0 %define soname 0 Summary: Opus Audio Codec Library @@ -26,8 +26,6 @@ License: BSD-3-Clause Group: System/Libraries Source: http://downloads.xiph.org/releases/opus/opus-%{version}.tar.gz Source99: baselibs.conf -# PATCH-FIX-UPSTREAM opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch zaitor@opensuse.org -- Fixes an out-of-bounds read issue with the padding handling code -Patch0: opus-fix-out-of-bounds-read-issue-with-the-padding-handling.patch Url: http://opus-codec.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool @@ -70,7 +68,6 @@ technology from Skype's SILK codec and Xiph.Org's CELT codec. %prep %setup -q -%patch0 -p1 %build %configure \