[xiph-commits] r13149 - trunk/vorbis/lib
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Wed Jun 20 15:06:55 PDT 2007
Author: xiphmont
Date: 2007-06-20 15:06:55 -0700 (Wed, 20 Jun 2007)
New Revision: 13149
Modified:
trunk/vorbis/lib/info.c
Log:
Correct a bug where the guard code is allowing illegally small blocksizes.
Modified: trunk/vorbis/lib/info.c
===================================================================
--- trunk/vorbis/lib/info.c 2007-06-20 09:55:01 UTC (rev 13148)
+++ trunk/vorbis/lib/info.c 2007-06-20 22:06:55 UTC (rev 13149)
@@ -211,7 +211,7 @@
if(vi->rate<1)goto err_out;
if(vi->channels<1)goto err_out;
- if(ci->blocksizes[0]<8)goto err_out;
+ if(ci->blocksizes[0]<64)goto err_out;
if(ci->blocksizes[1]<ci->blocksizes[0])goto err_out;
if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */
More information about the commits
mailing list