summaryrefslogtreecommitdiff
path: root/res012.c
Commit message (Collapse)AuthorAgeFilesLines
* A guard conditional used > instead of >=. Fix forMonty2010-10-181-1/+1
| | | | | | | | | zzuf.00005.355571120.chop.rc2-test2.ogg git-svn-id: https://svn.xiph.org/trunk/Tremor@17544 0101bb08-14d6-0310-b084-bc0e0c8e3800
* The previous round of loosening the phrasebook checking to allowMonty2010-10-181-0/+1
| | | | | | | | | | playback of some older (pre-1.0) files removed an [implicit] check against phrasebook dim being set to zero. Reinstate as an explicit check. git-svn-id: https://svn.xiph.org/trunk/Tremor@17542 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port r16218 from libvorbis.Tim Terriberry2010-10-141-4/+15
| | | | | | | Fix for https://bugzilla.mozilla.org/show_bug.cgi?id=501279 git-svn-id: https://svn.xiph.org/trunk/Tremor@17524 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port of r16181 from libvorbis.Tim Terriberry2010-10-141-1/+3
| | | | | | | | | First half of fix for https://bugzilla.mozilla.org/show_bug.cgi?id=500254 Residue code was not checking that its partition books were books with specified/populated value mappings. git-svn-id: https://svn.xiph.org/trunk/Tremor@17522 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port r15532 and r16552 from libvorbis.Tim Terriberry2010-10-131-3/+7
| | | | | | | | | | | Fix for bug #1456-- the 'bulletproofing' from CVE-2008-1420 inadvertantly rejects a harmless/legal (if suboptimal) codebook arrangement that was apparently used in 1.0b1. Modify fix for Trac #1572; some files from the earliest beta accidentally used an oversized phrasebook in res decode; allow these. git-svn-id: https://svn.xiph.org/trunk/Tremor@17520 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Back out r17515.Tim Terriberry2010-10-131-8/+5
| | | | | | | This accidentally contained far more than I meant to commit. git-svn-id: https://svn.xiph.org/trunk/Tremor@17516 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fixes for r17514.Tim Terriberry2010-10-131-5/+8
| | | | | | | | | Actually allocate the right number of comments, and add an extra check against i+1 overflowing (which could happen with a 4 GB comment packet on a 64-bit machine... unlikely, but possible). git-svn-id: https://svn.xiph.org/trunk/Tremor@17515 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Forward port r14598 from libvorbis.Tim Terriberry2010-10-131-0/+14
| | | | | | | | Add code to prevent heap attacks by exploiting dim==bignum and partition_codewords==partion_values^dim. git-svn-id: https://svn.xiph.org/trunk/Tremor@17513 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Convert Tremor to use libogg instead of its own internal libogg2.Tim Terriberry2010-08-311-1/+1
| | | | | | | | | | | | | This makes it easier to use Tremor as a drop-in replacement for libvorbis and reduces code size and overhead for those who don't want to use its built-in Ogg demuxer. This commit also backports all of the changes that have accumulated in libvorbis's vorbisfile implementation, with the exception of halfrate decoding and cross-lapped seeking. Those should not be too hard to add if someone really wants them. git-svn-id: https://svn.xiph.org/trunk/Tremor@17375 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Add proper guarding to cases where declared floor/residue decode sizeMonty2007-06-211-72/+79
| | | | | | | | is *larger* than the current blocksize. Handle according to spec. git-svn-id: https://svn.xiph.org/trunk/Tremor@13156 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix a number of warnings, issue #622.Ralph Giles2006-01-091-0/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@10707 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Update headers on source files for BSD license.Monty2002-09-031-1/+4
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@3895 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Put root level of Tremor in CVSMonty2002-09-021-0/+331
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800