[xiph-commits] r16326 - trunk/vorbis/lib

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Jul 23 17:06:53 PDT 2009


Author: xiphmont
Date: 2009-07-23 17:06:53 -0700 (Thu, 23 Jul 2009)
New Revision: 16326

Modified:
   trunk/vorbis/lib/backends.h
Log:
Eliminate possibility of booklist overflow in res0/1/2 unpacking.



Modified: trunk/vorbis/lib/backends.h
===================================================================
--- trunk/vorbis/lib/backends.h	2009-07-23 12:50:50 UTC (rev 16325)
+++ trunk/vorbis/lib/backends.h	2009-07-24 00:06:53 UTC (rev 16326)
@@ -111,7 +111,7 @@
   int    partitions;       /* possible codebooks for a partition */
   int    groupbook;        /* huffbook for partitioning */
   int    secondstages[64]; /* expanded out to pointers in lookup */
-  int    booklist[256];    /* list of second stage books */
+  int    booklist[512];    /* list of second stage books */
 
   const float classmetric1[64];
   const float classmetric2[64];



More information about the commits mailing list