1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libavformat
Michael Niedermayer 1d29624c73 oggparsevorbis: check channels
Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-17 20:51:50 +01:00
..
4xm.c check std tag size before reading. 2012-12-01 00:30:11 +01:00
a64.c
aacdec.c
ac3dec.c
act.c
adtsenc.c
adxdec.c
aea.c
afc.c AFC demuxer 2012-11-27 10:17:28 +00:00
aiff.h aiff: support in24/in32 tags 2012-12-16 10:41:00 +00:00
aiffdec.c
aiffenc.c
allformats.c Silicon Graphics Movie (.mv) demuxer 2012-12-17 20:37:54 +11:00
amr.c
anm.c
apc.c
ape.c lavf/apedec: return meaningful error codes 2012-12-06 17:17:49 +00:00
apetag.c Merge remote-tracking branch 'qatar/master' 2012-11-22 15:36:50 +01:00
apetag.h
apetagenc.c
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec.c asfdec: check extradata size before alloc and read 2012-12-02 20:44:58 +01:00
asfenc.c
assdec.c lavf/assdec: return appropriate error code instead of -1. 2012-12-02 00:06:03 +01:00
assenc.c
ast.c AST Muxer 2012-12-04 11:25:46 +00:00
ast.h AST Muxer 2012-12-04 11:25:46 +00:00
astdec.c AST Muxer 2012-12-04 11:25:46 +00:00
astenc.c astenc: fix assignment vs compare 2012-12-11 08:56:42 +01:00
au.c audec: use ff_pcm_read_packet() 2012-12-05 12:40:57 +00:00
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h lavf: Provide a monotonic timestamp to the outside world 2012-12-15 21:28:45 +01:00
avi.h
avidec.c read_gab2_sub: fix null pointer dereference 2012-12-12 17:46:05 +01:00
avienc.c lavf/avienc: return proper error codes, and provide some more feedback 2012-11-17 11:15:00 +01:00
avio_internal.h
avio.c
avio.h
aviobuf.c Merge remote-tracking branch 'qatar/master' 2012-12-09 14:08:01 +01:00
avisynth.c
avlanguage.c
avlanguage.h
avr.c avr: use ff_pcm_read_packet() 2012-12-05 12:40:57 +00:00
avs.c
bethsoftvid.c bethsoftvid: signal EOF 2012-11-21 23:22:38 +01:00
bfi.c bfi: set duration 2012-12-16 16:53:01 +01:00
bink.c bink: return AVERROR_EOF upon reaching end of file 2012-11-21 19:25:20 +01:00
bintext.c
bit.c
bluray.c
bmv.c
brstm.c brstm: ask for samples for version != 1.0 2012-12-16 15:05:31 +01:00
c93.c c93: signal EOF 2012-11-24 15:04:32 +00:00
cache.c
caf.c Support iLBC in caf. 2012-11-19 10:19:50 +01:00
caf.h
cafdec.c cafdec: Check duration before use. 2012-12-12 01:22:09 +01:00
cafenc.c cafenc: do not include riff.h 2012-12-05 20:44:28 +00:00
cavsvideodec.c
cdg.c
cdxl.c cdxl: use url_feof() 2012-11-21 16:39:44 +00:00
concat.c
concatdec.c concatdec: change data type to suppress warning about limited range of data type on some platforms. 2012-12-17 17:31:34 +01:00
crcenc.c
crypto.c
cutils.c
daud.c
dfa.c
diracdec.c
dnxhddec.c
dsicin.c
dtsdec.c
dtshddec.c
dv.c
dv.h
dvenc.c
dxa.c lavf/dxa: return meaningful error codes 2012-12-05 20:18:04 +00:00
eacdata.c
electronicarts.c electronicarts: check size before reading duration out of a chunk. 2012-11-17 20:43:56 +01:00
epafdec.c Ensoniq Paris Audio File demuxer 2012-12-05 13:01:22 +00:00
ffm.h
ffmdec.c
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
file.c file: fix 10l error in access() check 2012-11-27 13:24:00 +01:00
filmstripdec.c
filmstripenc.c
flacdec.c
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c flvdec: disable hack that attempts to parse aac bitstream in the flv demuxer. 2012-11-17 18:49:08 +01:00
flvenc.c flvenc: don't write random data if seek fails 2012-12-13 21:54:35 +01:00
framecrcenc.c
framehash.c
g722.c
g723_1.c
g729dec.c
gif.c
gifdec.c gifdec: do not handle timestamps 2012-12-04 15:21:24 +00:00
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
h261dec.c
h263dec.c
h264dec.c
hls.c lavf/hls: whitespace cosmetics after 23db5418. 2012-11-21 08:01:51 +01:00
hlsenc.c Merge commit '18e6f087c4a50bede8449ee164778945480be50c' 2012-12-09 13:35:49 +01:00
hlsproto.c
http.c http: dont null check p, its unneeded 2012-12-11 00:03:23 +01:00
http.h
httpauth.c
httpauth.h
icodec.c
icoenc.c add forgotten AV_ prefix to some CODEC_IDs 2012-12-09 01:47:58 +00:00
id3v1.c
id3v1.h
id3v2.c id3v2: check index against buffer size. Fix out of array access 2012-11-29 23:12:42 +01:00
id3v2.h
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c iff demuxer: support RGB8 and RGBN 2012-12-11 20:17:30 +11:00
ilbc.c
img2.c Merge commit '9d46eaec7a90bd8f5cd9e45398c6d17804182320' 2012-11-30 14:49:13 +01:00
img2dec.c Add exception for "gif" in image2 probe() method. 2012-11-30 14:35:11 +00:00
img2enc.c Merge commit '9d46eaec7a90bd8f5cd9e45398c6d17804182320' 2012-11-30 14:49:13 +01:00
ingenientdec.c
internal.h doxy: Clarify what avpriv_set_pts_info does 2012-12-17 11:18:27 -05:00
ipmovie.c
ircam.c add forgotten AV_ prefix to some CODEC_IDs 2012-12-09 01:47:58 +00:00
ircam.h IRCAM demuxer & muxer 2012-12-05 13:01:22 +00:00
ircamdec.c IRCAM demuxer & muxer 2012-12-05 13:01:22 +00:00
ircamenc.c ircamenc: 10l do not use avio_skip() 2012-12-05 13:46:35 +00:00
isom.c isom: support SGI RLE 8-bit in QuickTime file format 2012-12-17 20:37:54 +11:00
isom.h
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c lavf: use ff_subtitles_queue_seek() for text subtitles demuxers. 2012-12-02 00:06:03 +01:00
jacosubenc.c
jvdec.c
latmenc.c
libavformat.v
libmodplug.c
libnut.c
librtmp.c
lmlm4.c
loasdec.c
log2_tab.c
lvfdec.c
lxfdec.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
m4vdec.c
Makefile Silicon Graphics Movie (.mv) demuxer 2012-12-17 20:37:54 +11:00
matroska.c
matroska.h
matroskadec.c matroskadec: reset size when freeing data. 2012-12-04 03:50:09 +01:00
matroskaenc.c lavf/matroskaenc: check for overflow in display width. 2012-12-13 12:45:07 +01:00
md5enc.c
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c lavf: use ff_subtitles_queue_seek() for text subtitles demuxers. 2012-12-02 00:06:03 +01:00
microdvdenc.c
mkvtimestamp_v2.c
mm.c
mmf.c mmfdec: fix seeking 2012-12-06 11:56:00 +00:00
mms.c
mms.h
mmsh.c
mmst.c
mov_chan.c
mov_chan.h
mov.c mov: parse @PRM and @PRQ metadata tags 2012-12-10 21:12:59 +11:00
movenc.c movenc: fix assert failure caused by rounding. 2012-11-22 20:58:06 +01:00
movenc.h
movenchint.c Merge remote-tracking branch 'qatar/master' 2012-11-15 11:31:13 +01:00
mp3dec.c
mp3enc.c lavf/mp3enc: make sure the header is valid before writing audio pkt. 2012-11-16 14:11:08 +01:00
mpc8.c mpc8: check seektable size before attempting to use it. 2012-12-02 04:21:42 +01:00
mpc.c
mpeg.c lavf: VobSub demuxer. 2012-12-07 21:18:06 +01:00
mpeg.h
mpegenc.c
mpegts.c mpegts: check av_new_stream() return value. 2012-12-13 17:46:17 +01:00
mpegts.h
mpegtsenc.c
mpegvideodec.c
mpjpeg.c
msnwc_tcp.c
mtv.c
mux.c
mvdec.c Silicon Graphics Movie (.mv) demuxer 2012-12-17 20:37:54 +11:00
mvi.c mvi: check av_mallocz() result 2012-12-01 09:06:24 +00:00
mxf.c
mxf.h
mxfdec.c mxf_set_audio_pts: fix division by 0 2012-12-12 11:35:47 +01:00
mxfenc.c
mxg.c
ncdec.c
network.c Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967' 2012-12-05 13:34:45 +01:00
network.h
nsvdec.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
nullenc.c
nut.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
nut.h Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
nutdec.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
nutenc.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
nuv.c Merge commit 'e4d349b4014ee2a03f521027e0bd1ace4a9e60bd' 2012-11-29 14:16:46 +01:00
oggdec.c oggdec: prevent codec from changing through ogg_replace_stream() 2012-12-05 04:40:19 +01:00
oggdec.h
oggenc.c
oggparsecelt.c
oggparsedirac.c
oggparseflac.c
oggparseogm.c
oggparseopus.c
oggparseskeleton.c
oggparsespeex.c oggspeexparse: fix array overread 2012-12-12 11:21:23 +01:00
oggparsetheora.c
oggparsevorbis.c oggparsevorbis: check channels 2012-12-17 20:51:50 +01:00
oma.c
oma.h
omadec.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
omaenc.c omaenc: remove superfluous "OMA: " 2012-11-24 10:04:20 +00:00
options_table.h lavf: Provide a monotonic timestamp to the outside world 2012-12-15 21:28:45 +01:00
options.c
os_support.c
os_support.h
paf.c
pcm.c lavf/pcm: check size, do not produce invalid packets 2012-12-07 13:05:43 +00:00
pcm.h pcmdec: move read_packet function to pcm.c so it can be shared with other demuxers 2012-12-05 12:40:57 +00:00
pcmdec.c pcmdec: move read_packet function to pcm.c so it can be shared with other demuxers 2012-12-05 12:40:57 +00:00
pcmenc.c
pmpdec.c
psxstr.c
pva.c
pvfdec.c pvfdec: use ff_pcm_read_packet() 2012-12-05 12:40:57 +00:00
qcp.c
qtpalette.h
r3d.c
rawdec.c raw demuxer: initialize end of partial packets 2012-12-05 00:02:43 +01:00
rawdec.h
rawenc.c rawenc: cosmetics: reindent 2012-11-21 15:34:45 +00:00
rawenc.h
rawvideodec.c rawvideodec: set bit rate 2012-12-04 15:52:58 +00:00
rdt.c
rdt.h
realtextdec.c lavf: use ff_subtitles_queue_seek() for text subtitles demuxers. 2012-12-02 00:06:03 +01:00
riff.c add forgotten AV_ prefix to some CODEC_IDs 2012-12-09 01:47:58 +00:00
riff.h Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
rl2.c
rm.c
rm.h
rmdec.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c rpl: return AVERROR_EOF instead of -1 2012-11-21 09:48:46 +00:00
rso.c
rso.h
rsodec.c rsodec: use ff_pcm_read_packet() 2012-12-05 12:40:57 +00:00
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c
rtmppkt.h
rtmpproto.c
rtp.c Merge remote-tracking branch 'qatar/master' 2012-11-15 11:31:13 +01:00
rtp.h Merge remote-tracking branch 'qatar/master' 2012-11-15 11:31:13 +01:00
rtpdec_amr.c
rtpdec_asf.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c
rtpdec_ilbc.c
rtpdec_jpeg.c
rtpdec_latm.c
rtpdec_mpeg4.c Merge commit 'f3f60dcbdd6ff2201526a603fe28293975bb7667' 2012-12-13 12:18:12 +01:00
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_svq3.c
rtpdec_vp8.c Merge commit 'f322b2073581119de5da74f92a03309a36891cfa' 2012-12-17 14:06:11 +01:00
rtpdec_xiph.c
rtpdec.c Merge commit '7941159df6aad2d219e2a7184489be7a735dd944' 2012-12-13 12:06:19 +01:00
rtpdec.h Merge commit 'f3f60dcbdd6ff2201526a603fe28293975bb7667' 2012-12-13 12:18:12 +01:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c Merge commit 'e4d349b4014ee2a03f521027e0bd1ace4a9e60bd' 2012-11-29 14:16:46 +01:00
rtpenc_chain.h Merge remote-tracking branch 'qatar/master' 2012-11-15 11:31:13 +01:00
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264.c
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpv.c
rtpenc_vp8.c Merge commit '65e053271a98f7acf3ef6b412998cfcb44a8eef8' 2012-12-17 13:46:54 +01:00
rtpenc_xiph.c
rtpenc.c Merge commit 'f322b2073581119de5da74f92a03309a36891cfa' 2012-12-17 14:06:11 +01:00
rtpenc.h Merge commit 'f322b2073581119de5da74f92a03309a36891cfa' 2012-12-17 14:06:11 +01:00
rtpproto.c Merge remote-tracking branch 'qatar/master' 2012-12-13 12:23:48 +01:00
rtsp.c Merge remote-tracking branch 'qatar/master' 2012-11-15 11:31:13 +01:00
rtsp.h
rtspcodes.h
rtspdec.c
rtspenc.c
samidec.c lavf: use ff_subtitles_queue_seek() for text subtitles demuxers. 2012-12-02 00:06:03 +01:00
sapdec.c
sapenc.c SAP muxer set session name from metadata 2012-12-17 17:31:55 +01:00
sauce.c sauce: test filetype correctly for datatype 5 (binary text) 2012-12-14 16:46:29 +11:00
sauce.h
sbgdec.c lavf/sbgdec: use proper constants for av_log(). 2012-11-24 23:56:52 +01:00
sctp.c sctp: dont abort on invalid input 2012-12-17 01:53:35 +01:00
sdp.c Merge remote-tracking branch 'qatar/master' 2012-11-15 11:31:13 +01:00
seek-test.c Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967' 2012-12-05 13:34:45 +01:00
seek.c
seek.h
segafilm.c segafilm: signal EOF 2012-11-21 23:51:21 +01:00
segment.c lavf/segment: provide more debug feedback when a new segment starts 2012-12-14 18:19:47 +01:00
sierravmd.c sierravmd: signal EOF 2012-11-21 10:38:52 +00:00
siff.c siff: set duration 2012-12-17 13:34:30 +01:00
smacker.c smacker: use meaningful error codes 2012-12-06 18:06:52 +00:00
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
smoothstreamingenc.c
smush.c smush: check audio packet size 2012-11-17 19:58:54 +00:00
sol.c
sox.h
soxdec.c soxdec: use ff_pcm_read_packet() 2012-12-05 12:40:57 +00:00
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c lavf/srtdec: trim line break event separators from packet. 2012-11-20 22:38:39 +01:00
srtenc.c
subtitles.c lavf/subtitles: seek a little more backward when necessary. 2012-12-02 00:06:03 +01:00
subtitles.h lavf/subtitles: add ff_subtitles_queue_seek(). 2012-12-02 00:06:03 +01:00
subviewerdec.c lavf: use ff_subtitles_queue_seek() for text subtitles demuxers. 2012-12-02 00:06:03 +01:00
swf.c
swf.h Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
swfdec.c Merge commit 'd04c17c91363a6b15d1ac2d79c817f3d5e2998b3' 2012-12-12 10:16:23 +01:00
swfenc.c
takdec.c tak: reduce difference with qatar 2012-12-09 22:01:00 +00:00
tcp.c
tedcaptionsdec.c lavf: TED Talks JSON captions demuxer. 2012-12-09 18:50:38 +01:00
thp.c thp: set duration 2012-12-16 10:27:54 +00:00
tiertexseq.c
tls.c
tmv.c
tta.c
tty.c
txd.c
udp.c
url-test.c Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967' 2012-12-05 13:34:45 +01:00
url.h
urldecode.c
urldecode.h
utils.c wrap_timestamp: remove unneeded check 2012-12-16 01:07:53 +01:00
vc1test.c
vc1testenc.c
version.h lavf/segment: add segment_start_number option 2012-12-13 21:38:43 +01:00
vivo.c add forgotten AV_ prefix to some CODEC_IDs 2012-12-09 01:47:58 +00:00
voc.c
voc.h Merge commit 'bfe5454cd238b16e7977085f880205229103eccb' 2012-11-29 13:45:57 +01:00
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vqf.c
wavdec.c riff: ignore ff_read_riff_info() failure. 2012-11-23 23:41:57 +01:00
wavenc.c wavenc: write fact chunk sample count at the correct file position 2012-11-26 19:11:10 -05:00
wc3movie.c
webvttdec.c lavf: use ff_subtitles_queue_seek() for text subtitles demuxers. 2012-12-02 00:06:03 +01:00
westwood_aud.c
westwood_vqa.c westwood_vqa: fix null pointer dereference 2012-12-14 17:55:57 +01:00
wtv.c
wtv.h
wtvdec.c wtvdec: fix null pointer dereference 2012-12-02 22:36:15 +01:00
wtvenc.c
wv.c
wvenc.c wvenc: multichannel muxing 2012-11-24 10:20:46 +00:00
xa.c
xmv.c xmv: signal EOF 2012-11-22 20:37:24 +00:00
xwma.c xwma: check bytes_per_sample, fix division by 0. 2012-11-15 00:56:54 +01:00
yop.c yop: fix typo 2012-11-25 11:10:52 -05:00
yuv4mpeg.c