diff options
author | Monty <xiphmont@xiph.org> | 2010-10-18 11:30:23 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2010-10-18 11:30:23 +0000 |
commit | 8b4f038eca3e448e20ef545799b8fcc4e67c99d3 (patch) | |
tree | 971aadf957469d6652718345b8534eb58c3eac7c /floor0.c | |
parent | 80661a13c93a01f25b8df4e89fecad0eee69ddcc (diff) | |
download | tremor-8b4f038eca3e448e20ef545799b8fcc4e67c99d3.tar.gz |
Add additional check, disallow books with dim<1 in floor0
git-svn-id: https://svn.xiph.org/trunk/Tremor@17547 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'floor0.c')
-rw-r--r-- | floor0.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -328,6 +328,7 @@ static vorbis_info_floor *floor0_unpack (vorbis_info *vi,oggpack_buffer *opb){ 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); |