1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Update to 1.3.7 for an accumulation of small bug fixes. No interface changes.

The port already had the CVE fixes.
This commit is contained in:
Christian Weisgerber 2020-07-05 17:43:47 +00:00
parent 2955d08114
commit ca6b525e67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541294
6 changed files with 8 additions and 36 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libvorbis
PORTVERSION= 1.3.6
PORTREVISION= 1
PORTVERSION= 1.3.7
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= https://downloads.xiph.org/releases/vorbis/ \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1521217149
SHA256 (libvorbis-1.3.6.tar.xz) = af00bb5a784e7c9e69f56823de4637c350643deedaf333d0fa86ecdba6fcb415
SIZE (libvorbis-1.3.6.tar.xz) = 1195388
TIMESTAMP = 1593964776
SHA256 (libvorbis-1.3.7.tar.xz) = b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b
SIZE (libvorbis-1.3.7.tar.xz) = 1203792

View File

@ -1,15 +0,0 @@
CVE-2017-14160: fix bounds check on very low sample rates.
https://gitlab.xiph.org/xiph/vorbis/-/commit/018ca26dece618457dd13585cad52941193c4a25
--- lib/psy.c.orig 2020-06-28 19:37:27 UTC
+++ lib/psy.c
@@ -602,8 +602,9 @@ static void bark_noise_hybridmp(int n,const long *b,
for (i = 0, x = 0.f;; i++, x += 1.f) {
lo = b[i] >> 16;
- if( lo>=0 ) break;
hi = b[i] & 0xffff;
+ if( lo>=0 ) break;
+ if( hi>=n ) break;
tN = N[hi] + N[-lo];
tX = X[hi] - X[-lo];

View File

@ -1,12 +0,0 @@
CVE-2018-10392: Sanity check number of channels in setup.
https://gitlab.xiph.org/xiph/vorbis/-/commit/112d3bd0aaacad51305e1464d4b381dabad0e88b
--- lib/vorbisenc.c.orig 2020-06-28 19:38:54 UTC
+++ lib/vorbisenc.c
@@ -684,6 +684,7 @@ int vorbis_encode_setup_init(vorbis_info *vi){
highlevel_encode_setup *hi=&ci->hi;
if(ci==NULL)return(OV_EINVAL);
+ if(vi->channels<1||vi->channels>255)return(OV_EINVAL);
if(!hi->impulse_block_p)i0=1;
/* too low/high an ATH floater is nonsensical, but doesn't break anything */

View File

@ -18,4 +18,4 @@ This package contains:
- libvorbisenc, a BSD-license library that provides a simple,
programmatic encoding setup interface.
WWW: https://www.xiph.org/vorbis/
WWW: https://xiph.org/vorbis/

View File

@ -4,15 +4,15 @@ include/vorbis/vorbisfile.h
lib/libvorbis.a
lib/libvorbis.so
lib/libvorbis.so.0
lib/libvorbis.so.0.4.8
lib/libvorbis.so.0.4.9
lib/libvorbisenc.a
lib/libvorbisenc.so
lib/libvorbisenc.so.2
lib/libvorbisenc.so.2.0.11
lib/libvorbisenc.so.2.0.12
lib/libvorbisfile.a
lib/libvorbisfile.so
lib/libvorbisfile.so.3
lib/libvorbisfile.so.3.3.7
lib/libvorbisfile.so.3.3.8
libdata/pkgconfig/vorbis.pc
libdata/pkgconfig/vorbisenc.pc
libdata/pkgconfig/vorbisfile.pc