Author: hobbes1069
Update of /cvs/free/rpms/sox-plugins-freeworld/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5046
Modified Files:
.cvsignore sources sox-plugins-freeworld.spec
Added Files:
sox-mcompand_clipping.patch
Log Message:
* Fri Feb 15 2013 Frantisek Kluknavsky <fkluknav(a)redhat.com> - 14.4.1-2
- added sox-mcompand_clipping.patch to prevent integer overflow
sox-mcompand_clipping.patch:
mcompand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE sox-mcompand_clipping.patch ---
diff -up wrk/src/mcompand.c.wrk wrk/src/mcompand.c
--- wrk/src/mcompand.c.wrk 2013-02-15 10:15:03.426639189 +0100
+++ wrk/src/mcompand.c 2013-02-15 10:18:42.408008144 +0100
@@ -395,7 +395,7 @@ static int flow(sox_effect_t * effp, con
(void)sox_mcompand_flow_1(effp, c,l,bbuf,abuf,len,
(size_t)effp->out_signal.channels);
for (i=0;i<len;++i)
{
- out = obuf[i] + abuf[i];
+ out = (double)obuf[i] + (double)abuf[i];
SOX_SAMPLE_CLIP_COUNT(out, effp->clips);
obuf[i] = out;
}
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/sox-plugins-freeworld/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 28 Oct 2012 13:26:08 -0000 1.3
+++ .cvsignore 15 Feb 2013 22:03:20 -0000 1.4
@@ -1 +1 @@
-sox-14.4.0.tar.gz
+sox-14.4.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/sox-plugins-freeworld/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 28 Oct 2012 13:26:08 -0000 1.3
+++ sources 15 Feb 2013 22:03:20 -0000 1.4
@@ -1 +1 @@
-b0c15cff7a4ba0ec17fdc74e6a1f9cf1 sox-14.4.0.tar.gz
+670307f40763490a2bc0d1f322071e7a sox-14.4.1.tar.gz
Index: sox-plugins-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/sox-plugins-freeworld/devel/sox-plugins-freeworld.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sox-plugins-freeworld.spec 31 Oct 2012 14:27:44 -0000 1.4
+++ sox-plugins-freeworld.spec 15 Feb 2013 22:03:20 -0000 1.5
@@ -2,8 +2,8 @@
Summary: Additional (free) codecs for sox
Name: sox-plugins-freeworld
-Version: 14.4.0
-Release: 1%{?dist}
+Version: 14.4.1
+Release: 2%{?dist}
# sox.c is GPLv2, all other is LGPL2.1
License: GPLv2+ and LGPLv2+
Group: Applications/Multimedia
@@ -14,6 +14,7 @@
Patch0: 01-Don-t-build-libgsm-avoid-no-portability-warnings.patch
#Patch1: 07-dont-configure-external-components.patch
Patch1: 07-Dont-configure-libgsm.patch
+Patch2: sox-mcompand_clipping.patch
BuildRequires: libvorbis-devel
BuildRequires: alsa-lib-devel, libtool-ltdl-devel, libsamplerate-devel
@@ -43,6 +44,7 @@
%setup -q -n %{realname}-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
# Remove bundled libs
rm -rf libgsm
@@ -84,6 +86,9 @@
%changelog
+* Fri Feb 15 2013 Frantisek Kluknavsky <fkluknav(a)redhat.com> - 14.4.1-2
+- added sox-mcompand_clipping.patch to prevent integer overflow
+
* Sun Oct 28 2012 Richard Shaw <hobbes1069(a)gmail.com> - 14.4.0-1
- Update to latest upstream release.