[xiph-commits] r18152 - trunk/Tremor

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Jan 19 23:42:10 PST 2012


Author: xiphmont
Date: 2012-01-19 23:42:10 -0800 (Thu, 19 Jan 2012)
New Revision: 18152

Modified:
   trunk/Tremor/floor1.c
Log:
Tremor mainline fix commit for Moz BZ #719612


Modified: trunk/Tremor/floor1.c
===================================================================
--- trunk/Tremor/floor1.c	2012-01-20 07:35:26 UTC (rev 18151)
+++ trunk/Tremor/floor1.c	2012-01-20 07:42:10 UTC (rev 18152)
@@ -108,6 +108,7 @@
 
   for(j=0,k=0;j<info->partitions;j++){
     count+=info->class_dim[info->partitionclass[j]]; 
+    if(count>VIF_POSIT)goto err_out;
     for(;k<count;k++){
       int t=info->postlist[k+2]=oggpack_read(opb,rangebits);
       if(t<0 || t>=(1<<rangebits))



More information about the commits mailing list