diff options
author | Monty <xiphmont@xiph.org> | 2009-09-12 02:09:04 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2009-09-12 02:09:04 +0000 |
commit | c632716b034f3374cdc2e710bbb847c4d65238db (patch) | |
tree | a63185b1f0db00abd8791a72dbcae6bc3fad1374 /lib/backends.h | |
parent | c5b59af00de64a474b5aa5190e8349125dbafd79 (diff) | |
download | libvorbis-git-c632716b034f3374cdc2e710bbb847c4d65238db.tar.gz |
Modify fix for Trac #1572; some files from the earliest beta
accidentally used an oversized phrasebook in res decode; allow these
[technically corrept] files to play. The attack fix is still
watertight, the check is simply made in a different way.
svn path=/trunk/vorbis/; revision=16552
Diffstat (limited to 'lib/backends.h')
-rw-r--r-- | lib/backends.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/backends.h b/lib/backends.h index c6a638aa..ecf1eca3 100644 --- a/lib/backends.h +++ b/lib/backends.h @@ -109,6 +109,7 @@ typedef struct vorbis_info_residue0{ /* first stage (lossless partitioning) */ int grouping; /* group n vectors per partition */ int partitions; /* possible codebooks for a partition */ + int partvals; /* partitions ^ groupbook dim */ int groupbook; /* huffbook for partitioning */ int secondstages[64]; /* expanded out to pointers in lookup */ int booklist[512]; /* list of second stage books */ |