1From 746c38105ce4fa1b609995d3386ea6b8b1f2f7bd Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 3Date: Fri, 16 Dec 2016 12:50:51 +0100 4Subject: [PATCH 3/3] fix CVE-2015-7747 5MIME-Version: 1.0 6Content-Type: text/plain; charset=UTF-8 7Content-Transfer-Encoding: 8bit 8 9Stolen from [1] 10 11[1] http://pkgs.fedoraproject.org/cgit/rpms/audiofile.git/tree/audiofile-0.3.6-CVE-2015-7747.patch 12 13Upstream-Status: Pending 14 15Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> 16--- 17 libaudiofile/modules/ModuleState.cpp | 2 +- 18 1 file changed, 1 insertion(+), 1 deletion(-) 19 20diff --git a/libaudiofile/modules/ModuleState.cpp b/libaudiofile/modules/ModuleState.cpp 21index 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-- 342.7.4 35 36