package/vorbis-tools: bump to version 1.4.2
PATCH 1/1 package/vorbis-tools: bump to version 1.4.2
- opusfile is an optional dependency since version 1.4.1 and
https://github.com/xiph/vorbis-tools/commit/4e7ab1ab09d26306e8ae7a8be36f93ff8c03bc92
- Drop all patches (already in version)
https://github.com/xiph/vorbis-tools/blob/v1.4.2/CHANGES
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...c-Fix-large-alloca-on-bad-AIFF-input.patch | 37 -------- ...count-of-channels-in-the-header-CVE-.patch | 88 ------------------- ...-on-raw-file-close-reported-by-Hanno.patch | 55 ------------ package/vorbis-tools/vorbis-tools.hash | 2 +- package/vorbis-tools/vorbis-tools.mk | 13 ++- 5 files changed, 6 insertions(+), 189 deletions(-) delete mode 100644 package/vorbis-tools/0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch delete mode 100644 package/vorbis-tools/0002-oggenc-validate-count-of-channels-in-the-header-CVE-.patch delete mode 100644 package/vorbis-tools/0003-oggenc-fix-crash-on-raw-file-close-reported-by-Hanno.patch
package/vorbis-tools/0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch deleted +0 -37
@@ -1,37 +0,0 @@ -Fix CVE-2015-6749 - invalid AIFF file causes alloca() buffer overflow. -See https://trac.xiph.org/ticket/2212 -Status: upstream - -Signed-off-by: Gustavo Zacarias <[email protected]> - -diff --git a/oggenc/audio.c b/oggenc/audio.c -index 477da8c..4921fb9 100644 ---- a/oggenc/audio.c -+++ b/oggenc/audio.c -@@ -245,8 +245,8 @@ static int aiff_permute_matrix[6][6] = - int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) - { - int aifc; /* AIFC or AIFF? */ -- unsigned int len; -- unsigned char *buffer; -+ unsigned int len, readlen; -+ unsigned char buffer[22]; - unsigned char buf2[8]; - aiff_fmt format; - aifffile *aiff = malloc(sizeof(aifffile)); -@@ -269,9 +269,9 @@ int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen) - return 0; /* Weird common chunk */ - } - -- buffer = alloca(len); -- -- if(fread(buffer,1,len,in) < len) -+ readlen = len < sizeof(buffer) ? len : sizeof(buffer); -+ if(fread(buffer,1,readlen,in) < readlen || -+ (len > readlen && !seek_forward(in, len-readlen))) - { - fprintf(stderr, _("Warning: Unexpected EOF in reading AIFF header\n")); - return 0; --- -2.5.0 -
package/vorbis-tools/0002-oggenc-validate-count-of-channels-in-the-header-CVE-.patch deleted +0 -88
88 lines not on this page · raw message
package/vorbis-tools/0003-oggenc-fix-crash-on-raw-file-close-reported-by-Hanno.patch deleted +0 -55
55 lines not on this page · raw message
package/vorbis-tools/vorbis-tools.hash +1 -1
@@ -1,4 +1,4 @@ # From http://downloads.xiph.org/releases/vorbis/SHA256SUMS -sha256 a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc vorbis-tools-1.4.0.tar.gz +sha256 db7774ec2bf2c939b139452183669be84fda5774d6400fc57fde37f77624f0b0 vorbis-tools-1.4.2.tar.gz # Locally computed sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
package/vorbis-tools/vorbis-tools.mk +5 -8
@@ -4,7 +4,7 @@ # ################################################################################ -VORBIS_TOOLS_VERSION = 1.4.0 +VORBIS_TOOLS_VERSION = 1.4.2 VORBIS_TOOLS_SITE = http://downloads.xiph.org/releases/vorbis VORBIS_TOOLS_LICENSE = GPL-2.0 VORBIS_TOOLS_LICENSE_FILES = COPYING
@@ -12,13 +12,6 @@ VORBIS_TOOLS_CPE_ID_VENDOR = xiph VORBIS_TOOLS_DEPENDENCIES = libao libogg libvorbis libcurl VORBIS_TOOLS_CONF_OPTS = --program-transform-name='' -# 0001-oggenc-Fix-large-alloca-on-bad-AIFF-input.patch -VORBIS_TOOLS_IGNORE_CVES += CVE-2015-6749 -# 0002-oggenc-validate-count-of-channels-in-the-header-CVE-.patch -VORBIS_TOOLS_IGNORE_CVES += CVE-2014-9638 CVE-2014-9639 -# 0003-oggenc-fix-crash-on-raw-file-close-reported-by-Hanno.patch -VORBIS_TOOLS_IGNORE_CVES += CVE-2014-9640 - # ogg123 calls math functions but forgets to link with libm VORBIS_TOOLS_CONF_ENV = LIBS=-lm
@@ -26,6 +19,10 @@ ifeq ($(BR2_PACKAGE_FLAC),y) VORBIS_TOOLS_DEPENDENCIES += flac endif +ifeq ($(BR2_PACKAGE_OPUSFILE),y) +VORBIS_TOOLS_DEPENDENCIES += opusfile +endif + ifeq ($(BR2_PACKAGE_SPEEX),y) VORBIS_TOOLS_DEPENDENCIES += speex endif
Signature · 1 line
2.29.2