Hello community, here is the log from the commit of package libsamplerate for openSUSE:Factory checked in at 2013-04-17 18:00:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsamplerate (Old) and /work/SRC/openSUSE:Factory/.libsamplerate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsamplerate", Maintainer is "ti...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libsamplerate/libsamplerate.changes 2012-08-07 08:11:08.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libsamplerate.new/libsamplerate.changes 2013-04-17 18:00:56.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Apr 16 02:37:15 UTC 2013 - crrodrig...@opensuse.org + +- 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch + from upstream, fix off-by-one bug found by gcc 4.8 address sanitizer. + +------------------------------------------------------------------- New: ---- 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsamplerate.spec ++++++ --- /var/tmp/diff_new_pack.taRCUu/_old 2013-04-17 18:00:58.000000000 +0200 +++ /var/tmp/diff_new_pack.taRCUu/_new 2013-04-17 18:00:58.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libsamplerate # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ 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 @@ -75,6 +77,7 @@ %prep %setup -q +%patch -p1 %build %ifnarch %arm # ARM has no working profile support in gcc atm ++++++ 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch ++++++ >From 93b26d6323699df302771b89ee3e7fc30780cc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodrig...@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 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org