tags 504421 patch stop On Tue, Nov 11, 2008 at 19:14:33 -0500, Michael Gold wrote: > I noticed the same patch exists in the libvorbis trunk, so I opened a > ticket in the Xiph.org bug tracker: > https://trac.xiph.org/ticket/1456
The bug is fixed by upstream changesets 15532 and 15533. This patch makes the same changes to Debian's version. -- Michael
--- libvorbis-1.2.0-deb/lib/res0.c 2008-11-03 13:48:37.678472874 -0500
+++ vorbis-trunk/lib/res0.c 2008-11-25 14:09:43.978476137 -0500
@@ -234,7 +234,6 @@
if(partvals > entries) goto errout;
dim--;
}
- if(partvals != entries) goto errout;
}
return(info);
@@ -277,7 +276,10 @@
}
}
- look->partvals=look->phrasebook->entries;
+ look->partvals=1;
+ for(j=0;j<dim;j++)
+ look->partvals*=look->parts;
+
look->stages=maxstage;
look->decodemap=_ogg_malloc(look->partvals*sizeof(*look->decodemap));
for(j=0;j<look->partvals;j++){
signature.asc
Description: Digital signature

