summaryrefslogtreecommitdiff
path: root/info.c
Commit message (Collapse)AuthorAgeFilesLines
* Port r19426 from libvorbis.HEADmasterTim Terriberry2018-03-191-1/+12
| | | | Reject multiple headers of the same type.
* Port r17029 and r17050 from libvorbis.Tim Terriberry2010-10-141-2/+2
| | | | | | | Fix leak when aborting out of static_codebook unpack. Closes #1663. git-svn-id: https://svn.xiph.org/trunk/Tremor@17530 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port the rest of r16222 from libvorbis.Tim Terriberry2010-10-141-10/+7
| | | | | | | Commit additional hardening to setup packet decode. git-svn-id: https://svn.xiph.org/trunk/Tremor@17525 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port r14984 from libvorbis.Tim Terriberry2010-10-131-4/+6
| | | | | | | Correct an accidental dereference-before-check in error cleanup in comments. git-svn-id: https://svn.xiph.org/trunk/Tremor@17519 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fixes for r17514 (take two).Tim Terriberry2010-10-131-3/+4
| | | | | | | | | 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@17517 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Back out r17515.Tim Terriberry2010-10-131-4/+3
| | | | | | | 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-3/+4
| | | | | | | | | 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 r14502, r16217, and parts of r16222.Tim Terriberry2010-10-131-7/+16
| | | | | | | | | | | | | Don't try to read past the end of the comment packet if the string lengths are corrupt. Correct a potential comment length sanity check overflow. Commit additional hardening to comment packet decode. Also add allocation checks, since these can still run us out of address space if someone actually sends a GB or two of comment data. git-svn-id: https://svn.xiph.org/trunk/Tremor@17514 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Convert Tremor to use libogg instead of its own internal libogg2.Tim Terriberry2010-08-311-3/+3
| | | | | | | | | | | | | 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
* Merge recent vorbifile changes, extensions and fixes back fromMonty2009-07-111-0/+25
| | | | | | | | reference 1.2.2 and 1.2.3 into tremor. git-svn-id: https://svn.xiph.org/trunk/Tremor@16259 0101bb08-14d6-0310-b084-bc0e0c8e3800
* ...add same eop fix to Tremor mainlineMonty2007-06-231-1/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@13185 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Correct a cleanup dispatch error when a bitstream is rejected due toMonty2007-06-211-3/+6
| | | | | | | | | illegal map/floor/residue type. The cleanup subdispatch was done by type, unfortunately, the invalid type just read in. Fixed. git-svn-id: https://svn.xiph.org/trunk/Tremor@13161 0101bb08-14d6-0310-b084-bc0e0c8e3800
* move '#include "os.h"' to misc.h and j2005-05-101-1/+0
| | | | | | | | remove it where misc.h is included. git-svn-id: https://svn.xiph.org/trunk/Tremor@9257 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Roll all recent optimizations and fixes to mainline vorbisfile into TremorMonty2003-03-291-2/+2
| | | | | | | First mainline deployment of libogg 2 (embedded into Tremor) git-svn-id: https://svn.xiph.org/trunk/Tremor@4565 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/+351
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800