summaryrefslogtreecommitdiff
path: root/audio/libvorbis/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libvorbis/patches/patch-ab')
-rw-r--r--audio/libvorbis/patches/patch-ab22
1 files changed, 0 insertions, 22 deletions
diff --git a/audio/libvorbis/patches/patch-ab b/audio/libvorbis/patches/patch-ab
deleted file mode 100644
index 43a4f0c7eb4..00000000000
--- a/audio/libvorbis/patches/patch-ab
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2008/05/14 16:36:18 drochner Exp $
-
---- ./lib/codebook.c.orig 2008-05-14 18:17:20.000000000 +0200
-+++ ./lib/codebook.c
-@@ -159,6 +159,8 @@ int vorbis_staticbook_unpack(oggpack_buf
- s->entries=oggpack_read(opb,24);
- if(s->entries==-1)goto _eofout;
-
-+ if(_ilog(s->dim)+_ilog(s->entries)>24)goto _eofout;
-+
- /* codeword ordering.... length ordered or unordered? */
- switch((int)oggpack_read(opb,1)){
- case 0:
-@@ -225,7 +227,7 @@ int vorbis_staticbook_unpack(oggpack_buf
- int quantvals=0;
- switch(s->maptype){
- case 1:
-- quantvals=_book_maptype1_quantvals(s);
-+ quantvals=(s->dim==0?0:_book_maptype1_quantvals(s));
- break;
- case 2:
- quantvals=s->entries*s->dim;