You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
946 B

  1. Description: fix buffer overflow when changing both sample format and
  2. number of channels
  3. Origin: backport, https://github.com/mpruett/audiofile/pull/25
  4. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/audiofile/+bug/1502721
  5. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801102
  6. Index: audiofile-0.3.6/libaudiofile/modules/ModuleState.cpp
  7. ===================================================================
  8. --- audiofile-0.3.6.orig/libaudiofile/modules/ModuleState.cpp 2015-10-20 08:00:58.036128202 -0400
  9. +++ audiofile-0.3.6/libaudiofile/modules/ModuleState.cpp 2015-10-20 08:00:58.036128202 -0400
  10. @@ -402,7 +402,7 @@
  11. addModule(new Transform(outfc, in.pcm, out.pcm));
  12. if (in.channelCount != out.channelCount)
  13. - addModule(new ApplyChannelMatrix(infc, isReading,
  14. + addModule(new ApplyChannelMatrix(outfc, isReading,
  15. in.channelCount, out.channelCount,
  16. in.pcm.minClip, in.pcm.maxClip,
  17. track->channelMatrix));