Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From 746c38105ce4fa1b609995d3386ea6b8b1f2f7bd Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> |
| 3 | Date: Fri, 16 Dec 2016 12:50:51 +0100 |
| 4 | Subject: [PATCH 3/3] fix CVE-2015-7747 |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | Stolen from [1] |
| 10 | |
| 11 | [1] http://pkgs.fedoraproject.org/cgit/rpms/audiofile.git/tree/audiofile-0.3.6-CVE-2015-7747.patch |
| 12 | |
| 13 | Upstream-Status: Pending |
| 14 | |
| 15 | Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com> |
| 16 | --- |
| 17 | libaudiofile/modules/ModuleState.cpp | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | |
| 20 | diff --git a/libaudiofile/modules/ModuleState.cpp b/libaudiofile/modules/ModuleState.cpp |
| 21 | index f76c495..0c29d7a 100644 |
| 22 | --- a/libaudiofile/modules/ModuleState.cpp |
| 23 | +++ b/libaudiofile/modules/ModuleState.cpp |
| 24 | @@ -402,7 +402,7 @@ status ModuleState::arrange(AFfilehandle file, Track *track) |
| 25 | addModule(new Transform(outfc, in.pcm, out.pcm)); |
| 26 | |
| 27 | if (in.channelCount != out.channelCount) |
| 28 | - addModule(new ApplyChannelMatrix(infc, isReading, |
| 29 | + addModule(new ApplyChannelMatrix(outfc, isReading, |
| 30 | in.channelCount, out.channelCount, |
| 31 | in.pcm.minClip, in.pcm.maxClip, |
| 32 | track->channelMatrix)); |
| 33 | -- |
| 34 | 2.7.4 |
| 35 | |