12 lines
425 B
Diff
12 lines
425 B
Diff
|
Index: /trunk/vorbis/lib/codebook.c
|
||
|
===================================================================
|
||
|
--- /trunk/vorbis/lib/codebook.c (revision 14602)
|
||
|
+++ /trunk/vorbis/lib/codebook.c (revision 14604)
|
||
|
@@ -159,4 +159,6 @@
|
||
|
s->entries=oggpack_read(opb,24);
|
||
|
if(s->entries==-1)goto _eofout;
|
||
|
+
|
||
|
+ if(_ilog(s->dim)+_ilog(s->entries)>24)goto _eofout;
|
||
|
|
||
|
/* codeword ordering.... length ordered or unordered? */
|