SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
devel/libaudiofile/patches/patch-configure
Normal file
13
devel/libaudiofile/patches/patch-configure
Normal file
|
@ -0,0 +1,13 @@
|
|||
https://github.com/mpruett/audiofile/commit/edb0f83dbf35338788a26e26ef9f17f42b51d6fc
|
||||
|
||||
--- configure.orig Tue Mar 12 17:10:16 2013
|
||||
+++ configure Tue Mar 12 17:10:37 2013
|
||||
@@ -16504,7 +16504,7 @@ else
|
||||
$as_echo "yes" >&6; }
|
||||
ac_cv_flac=yes
|
||||
fi
|
||||
- FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s/FLAC$//"`
|
||||
+ FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s:include/FLAC:include:"`
|
||||
if test "$ac_cv_flac" = "no" ; then
|
||||
enable_flac=no
|
||||
fi
|
|
@ -0,0 +1,14 @@
|
|||
Security fix for CVE-2015-7747
|
||||
http://www.openwall.com/lists/oss-security/2015/10/08/1
|
||||
|
||||
--- libaudiofile/modules/ModuleState.cpp.orig Tue Nov 17 17:04:14 2015
|
||||
+++ libaudiofile/modules/ModuleState.cpp Tue Nov 17 17:04:44 2015
|
||||
@@ -402,7 +402,7 @@ status ModuleState::arrange(AFfilehandle file, Track *
|
||||
addModule(new Transform(outfc, in.pcm, out.pcm));
|
||||
|
||||
if (in.channelCount != out.channelCount)
|
||||
- addModule(new ApplyChannelMatrix(infc, isReading,
|
||||
+ addModule(new ApplyChannelMatrix(outfc, isReading,
|
||||
in.channelCount, out.channelCount,
|
||||
in.pcm.minClip, in.pcm.maxClip,
|
||||
track->channelMatrix));
|
|
@ -0,0 +1,16 @@
|
|||
Fix undefined behavior in sign conversion.
|
||||
https://github.com/mpruett/audiofile/commit/b62c902dd258125cac86cd2df21fc898035a43d3
|
||||
|
||||
Index: libaudiofile/modules/SimpleModule.h
|
||||
--- libaudiofile/modules/SimpleModule.h.orig
|
||||
+++ libaudiofile/modules/SimpleModule.h
|
||||
@@ -123,7 +123,8 @@ struct signConverter
|
||||
typedef typename IntTypes<Format>::UnsignedType UnsignedType;
|
||||
|
||||
static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
|
||||
- static const int kMinSignedValue = -1 << kScaleBits;
|
||||
+ static const int kMaxSignedValue = (((1 << (kScaleBits - 1)) - 1) << 1) + 1;
|
||||
+ static const int kMinSignedValue = -kMaxSignedValue - 1;
|
||||
|
||||
struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue