diff options
author | Nedeljko Babic <nbabic@mips.com> | 2012-03-28 12:29:53 +0200 |
---|---|---|
committer | Nedeljko Babic <nbabic@mips.com> | 2012-04-03 15:38:03 +0200 |
commit | be376528e03c17ccac445bf5f4093d466b824d86 (patch) | |
tree | 764aab2dfc5ac7f6de2f5e7b3deb6027504cbda4 | |
parent | 41a2925c67cc8461b525ab5dee266309b3dfc97c (diff) | |
download | tremor-be376528e03c17ccac445bf5f4093d466b824d86.tar.gz |
Tremor mainline fix commit for Moz BZ #719612
[Import changes from Tremor (3daa274 2012-01-20)]
-rw-r--r-- | floor1.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -137,6 +137,7 @@ vorbis_info_floor *floor1_info_unpack (vorbis_info *vi,oggpack_buffer *opb){ count=0; for(j=0,k=0;j<info->partitions;j++){ count+=info->class[(int)info->partitionclass[j]].class_dim; + if(count>VIF_POSIT)goto err_out; for(;k<count;k++){ int t=info->postlist[k+2]=(ogg_uint16_t)oggpack_read(opb,rangebits); if(t>=(1<<rangebits))goto err_out; |