mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
parent
8220866cae
commit
629664b1d6
4 changed files with 34 additions and 4 deletions
10
srcpkgs/libvorbis/patches/CVE-2017-14632.patch
Normal file
10
srcpkgs/libvorbis/patches/CVE-2017-14632.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- lib/info.c
|
||||||
|
+++ lib/info.c
|
||||||
|
@@ -584,6 +584,7 @@ int vorbis_analysis_headerout(vorbis_dsp
|
||||||
|
private_state *b=v->backend_state;
|
||||||
|
|
||||||
|
if(!b||vi->channels<=0){
|
||||||
|
+ b = NULL;
|
||||||
|
ret=OV_EFAULT;
|
||||||
|
goto err_out;
|
||||||
|
}
|
11
srcpkgs/libvorbis/patches/CVE-2017-14633.patch
Normal file
11
srcpkgs/libvorbis/patches/CVE-2017-14633.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- lib/info.c
|
||||||
|
+++ lib/info.c
|
||||||
|
@@ -583,7 +583,7 @@ int vorbis_analysis_headerout(vorbis_dsp
|
||||||
|
oggpack_buffer opb;
|
||||||
|
private_state *b=v->backend_state;
|
||||||
|
|
||||||
|
- if(!b||vi->channels<=0){
|
||||||
|
+ if(!b||vi->channels<=0||vi->channels>256){
|
||||||
|
b = NULL;
|
||||||
|
ret=OV_EFAULT;
|
||||||
|
goto err_out;
|
9
srcpkgs/libvorbis/patches/autogen_skip_configure.patch
Normal file
9
srcpkgs/libvorbis/patches/autogen_skip_configure.patch
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
--- autogen.sh.orig 2013-03-21 17:21:18.281013739 +0100
|
||||||
|
+++ autogen.sh 2013-03-21 17:21:23.960040231 +0100
|
||||||
|
@@ -124,6 +124,3 @@ echo " $AUTOMAKE --add-missing $AUTOMAK
|
||||||
|
$AUTOMAKE --add-missing $AUTOMAKE_FLAGS || exit 1
|
||||||
|
echo " autoconf"
|
||||||
|
autoconf || exit 1
|
||||||
|
-
|
||||||
|
-cd $olddir
|
||||||
|
-$srcdir/configure --enable-maintainer-mode "$@" && echo
|
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'libvorbis'.
|
# Template file for 'libvorbis'.
|
||||||
pkgname=libvorbis
|
pkgname=libvorbis
|
||||||
version=1.3.6
|
version=1.3.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libogg-devel"
|
makedepends="libogg-devel"
|
||||||
short_desc="The Vorbis General Audio Compression Codec"
|
short_desc="The Vorbis General Audio Compression Codec"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="3-clause-BSD"
|
license="BSD"
|
||||||
homepage="http://www.xiph.org/vorbis/"
|
homepage="http://www.xiph.org/vorbis/"
|
||||||
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
|
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
|
||||||
checksum=6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb
|
checksum=6efbcecdd3e5dfbf090341b485da9d176eb250d893e3eb378c428a2db38301ce
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi -I m4
|
autoreconf -fi -I m4
|
||||||
|
|
Loading…
Add table
Reference in a new issue