[xiph-commits] r17547 - trunk/Tremor
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Mon Oct 18 04:30:23 PDT 2010
Author: xiphmont
Date: 2010-10-18 04:30:23 -0700 (Mon, 18 Oct 2010)
New Revision: 17547
Modified:
trunk/Tremor/floor0.c
Log:
Add additional check, disallow books with dim<1 in floor0
Modified: trunk/Tremor/floor0.c
===================================================================
--- trunk/Tremor/floor0.c 2010-10-18 09:54:48 UTC (rev 17546)
+++ trunk/Tremor/floor0.c 2010-10-18 11:30:23 UTC (rev 17547)
@@ -328,6 +328,7 @@
info->books[j]=oggpack_read(opb,8);
if(info->books[j]<0 || info->books[j]>=ci->books)goto err_out;
if(ci->book_param[info->books[j]]->maptype==0)goto err_out;
+ if(ci->book_param[info->books[j]]->dim<1)goto err_out;
}
return(info);
More information about the commits
mailing list