Accepting request 437349 from home:derselbst
- update to version 0.1.9 - remove Patch1 since it was fixed upstream OBS-URL: https://build.opensuse.org/request/show/437349 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=31
This commit is contained in:
parent
af7bb7dd75
commit
68283a4c4d
@ -1,38 +0,0 @@
|
||||
From 93b26d6323699df302771b89ee3e7fc30780cc86 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
|
||||
Date: Mon, 15 Apr 2013 23:24:16 -0300
|
||||
Subject: [PATCH] src/src_sinc.c : Fix a read beyond end of coefficent array
|
||||
problem.
|
||||
|
||||
found by gcc 4.8 address sanitizer
|
||||
|
||||
diff --git a/src/src_sinc.c b/src/src_sinc.c
|
||||
index 0b87066..1cd291b 100644
|
||||
--- a/src/src_sinc.c
|
||||
+++ b/src/src_sinc.c
|
||||
@@ -201,19 +201,19 @@ sinc_set_converter (SRC_PRIVATE *psrc, int src_enum)
|
||||
switch (src_enum)
|
||||
{ case SRC_SINC_FASTEST :
|
||||
temp_filter.coeffs = fastest_coeffs.coeffs ;
|
||||
- temp_filter.coeff_half_len = ARRAY_LEN (fastest_coeffs.coeffs) - 1 ;
|
||||
+ temp_filter.coeff_half_len = ARRAY_LEN (fastest_coeffs.coeffs) - 2 ;
|
||||
temp_filter.index_inc = fastest_coeffs.increment ;
|
||||
break ;
|
||||
|
||||
case SRC_SINC_MEDIUM_QUALITY :
|
||||
temp_filter.coeffs = slow_mid_qual_coeffs.coeffs ;
|
||||
- temp_filter.coeff_half_len = ARRAY_LEN (slow_mid_qual_coeffs.coeffs) - 1 ;
|
||||
+ temp_filter.coeff_half_len = ARRAY_LEN (slow_mid_qual_coeffs.coeffs) - 2 ;
|
||||
temp_filter.index_inc = slow_mid_qual_coeffs.increment ;
|
||||
break ;
|
||||
|
||||
case SRC_SINC_BEST_QUALITY :
|
||||
temp_filter.coeffs = slow_high_qual_coeffs.coeffs ;
|
||||
- temp_filter.coeff_half_len = ARRAY_LEN (slow_high_qual_coeffs.coeffs) - 1 ;
|
||||
+ temp_filter.coeff_half_len = ARRAY_LEN (slow_high_qual_coeffs.coeffs) - 2 ;
|
||||
temp_filter.index_inc = slow_high_qual_coeffs.increment ;
|
||||
break ;
|
||||
|
||||
--
|
||||
1.8.1.4
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06
|
||||
size 4303330
|
3
libsamplerate-0.1.9.tar.gz
Normal file
3
libsamplerate-0.1.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1
|
||||
size 4336641
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 25 19:12:46 UTC 2016 - tom.mbrt@googlemail.com
|
||||
|
||||
- update to version 0.1.9 (2016-09-23)
|
||||
* Relicense under 2 clause BSD license.
|
||||
* Minor bug fixes and upates.
|
||||
- remove 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch
|
||||
since it was fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 14:17:04 UTC 2015 - rguenther@suse.com
|
||||
|
||||
|
@ -17,10 +17,10 @@
|
||||
|
||||
|
||||
Name: libsamplerate
|
||||
Version: 0.1.8
|
||||
Version: 0.1.9
|
||||
Release: 0
|
||||
Summary: A Sample Rate Converter Library
|
||||
License: GPL-2.0+
|
||||
License: BSD-2-Clause
|
||||
Group: System/Libraries
|
||||
Url: http://www.mega-nerd.com/SRC/
|
||||
Source0: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
|
||||
@ -29,8 +29,6 @@ BuildRequires: fftw3-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# PATCH-FIX-UPSTREAM 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch off by one in src_sinc
|
||||
Patch: 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch
|
||||
|
||||
%description
|
||||
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
|
||||
@ -77,7 +75,7 @@ This package includes the example programs for libsamplerate.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%ifnarch %arm aarch64
|
||||
# ARM has no working profile support in gcc atm
|
||||
|
Loading…
Reference in New Issue
Block a user