1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
FFmpeg/libavformat
Michael Niedermayer 0a4d2b5f67 avformat/mp3dec: Check that the frame fits within the probe buffer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e9a335150a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-21 23:27:24 +01:00
..
tests movenc-test: Add tests for negative cts offsets 2017-09-28 18:15:45 +02:00
.gitignore
3dostr.c
4xm.c
a64.c
aacdec.c avformat/aacdec: resync to the next adts frame on invalid data instead of aborting 2019-07-23 01:13:41 -03:00
aadec.c avformat/aadec: Check for scanf() failure 2019-11-14 23:30:37 +01:00
ac3dec.c
acm.c
act.c
adp.c lavf/adp: Fix the probe function on systems with signed char. 2017-10-09 02:57:48 +02:00
ads.c
adtsenc.c
adxdec.c
aea.c
afc.c
aiff.h
aiffdec.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
aiffenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
aixdec.c
allformats.c Add SUP/PGS subtitle muxer 2017-09-09 12:07:14 +02:00
amr.c
anm.c
apc.c
ape.c
apetag.c
apetag.h
apngdec.c
apngenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
aqtitledec.c
asf.c
asf.h
asfcrypt.c
asfcrypt.h
asfdec_f.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
asfdec_o.c avformat/asfdec_o: Check size_bmp more fully 2018-07-07 12:27:00 +02:00
asfenc.c
assdec.c
assenc.c
ast.c
ast.h
astdec.c
astenc.c
async.c
au.c
audiointerleave.c
audiointerleave.h
avc.c
avc.h
avformat.h
avformatres.rc
avi.h
avidec.c avformat/avidec: Fix integer overflow in cum_len check 2018-06-18 01:16:03 +02:00
avienc.c
avio_internal.h lavf: make avio_read_partial() public 2017-09-01 17:56:33 +02:00
avio.c
avio.h lavf: make avio_read_partial() public 2017-09-01 17:56:33 +02:00
aviobuf.c avformat/aviobuf: Delay buffer downsizing until asserts are met 2019-11-14 23:30:37 +01:00
avisynth.c
avlanguage.c
avlanguage.h
avr.c
avs.c
bethsoftvid.c
bfi.c
bink.c
bintext.c
bit.c lavf/bit: Fix the G.729 bit auto-detection. 2017-09-30 20:41:52 +02:00
bluray.c
bmv.c
boadec.c
brstm.c
c93.c
cache.c
caf.c lavf/caf: Support demuxing Opus. 2017-09-20 03:31:48 +02:00
caf.h
cafdec.c avformat/cafdec: reject multichannel Opus streams 2017-09-19 23:06:42 -03:00
cafenc.c lavf/caf: Support demuxing Opus. 2017-09-20 03:31:48 +02:00
cavsvideodec.c
cdg.c
cdxl.c avformat/cdxl: Fix integer overflow in intermediate 2019-11-15 12:25:46 +01:00
chromaprint.c
cinedec.c avformat/cinedec: Fix DoS due to lack of eof check 2017-08-27 19:22:08 +02:00
concat.c
concatdec.c avformat/concatdec: add fallback for calculating file duration 2017-08-31 15:33:52 +01:00
crcenc.c
crypto.c
cutils.c
dash.c avformat/dash:add copyright to dash.c 2017-09-01 18:52:56 +08:00
dash.h avformat/dash: move reused API to common file and header file 2017-09-01 10:20:56 +08:00
dashdec.c avformat/dashdec: free resource allocated by xml 2017-09-09 08:34:07 +08:00
dashenc.c Merge commit '7295b7373862ee54903b33d6ef3335531dfa93ad' 2017-09-26 14:13:09 -03:00
data_uri.c
dauddec.c
daudenc.c
dcstr.c
dfa.c
diracdec.c
dnxhddec.c
dsfdec.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
dsicin.c
dss.c
dtsdec.c
dtshddec.c
dump.c lavf/dump: Remove superfluous cast. 2017-08-29 01:33:47 +02:00
dv.c
dv.h
dvbsub.c
dvbtxt.c
dvenc.c
dxa.c
eacdata.c
electronicarts.c avformat/electronicarts: If no packet has been read at the end do not treat it as if theres a packet 2019-11-15 12:25:46 +01:00
epafdec.c
ffm.h
ffmdec.c
ffmenc.c
ffmeta.h
ffmetadec.c
ffmetaenc.c
fifo.c
file_open.c
file.c
filmstripdec.c
filmstripenc.c
fitsdec.c Add FITS Demuxer 2017-08-30 12:13:01 +02:00
fitsenc.c avformat/fitsenc: fill header line with spaces 2017-09-12 21:39:57 -03:00
flac_picture.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
flac_picture.h
flacdec.c
flacenc_header.c
flacenc.c
flacenc.h
flic.c
flv.h
flvdec.c flvdec: Check the avio_seek return value after reading a metadata packet 2017-09-07 08:30:14 +08:00
flvenc.c avformat/flvenc: Check audio packet size 2018-10-28 02:22:42 +02:00
format.c
framecrcenc.c
framehash.c
frmdec.c
fsb.c
ftp.c avformat/ftp: Fix Out-of-Bounds Access and Information Leak in ftp.c:393 2019-03-24 10:38:51 +01:00
g722.c
g723_1.c
g726.c lavf/g726: Demuxer for raw G.726 streams, both left- and right-justified. 2017-08-24 12:55:46 +02:00
g729dec.c
gdv.c avformat/gdv: Check fps 2019-03-24 10:38:52 +01:00
genh.c
gif.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
gifdec.c
golomb_tab.c
gopher.c
gsmdec.c
gxf.c
gxf.h
gxfenc.c
h261dec.c
h263dec.c
h264dec.c
hashenc.c
hdsenc.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
hevc.c avformat/hvcc: zero initialize the nal buffers past the last written byte 2018-02-24 00:38:15 -03:00
hevc.h
hevcdec.c
hls.c Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3' 2017-09-26 16:02:40 -03:00
hlsenc.c avformat/hlsenc: write fmp4 init header after first AV frame 2017-11-15 17:53:42 -08:00
hlsproto.c
hnm.c
http.c avformat/http: Fix Out-of-Bounds access in process_line() 2019-03-24 10:38:51 +01:00
http.h
httpauth.c
httpauth.h
icecast.c
icodec.c avformat/icodec: Free ico->images on error paths 2019-11-14 23:30:37 +01:00
icoenc.c
id3v1.c
id3v1.h
id3v2.c lavf/id3v2: fail read_apic on EOF reading mimetype 2019-03-24 10:38:51 +01:00
id3v2.h avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
id3v2enc.c
idcin.c
idroqdec.c
idroqenc.c
iff.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
ilbc.c
img2_alias_pix.c
img2_brender_pix.c
img2.c
img2.h
img2dec.c avformat/img2dec: fix infinite loop 2018-06-18 01:16:03 +02:00
img2enc.c avformat/img2enc: remove av_dup_packet() call 2017-09-25 23:44:53 -03:00
ingenientdec.c
internal.h
ipmovie.c
ircam.c
ircam.h
ircamdec.c
ircamenc.c
isom.c libavformat : add mov dataformat tag for HapAlphaOnly and HapQAlpha 2017-09-24 21:54:13 +02:00
isom.h avformat/mov.c: require tfhd to begin parsing trun 2019-03-24 10:38:51 +01:00
iss.c
iv8.c
ivfdec.c
ivfenc.c
jacosubdec.c
jacosubenc.c
jvdec.c
latmenc.c
libavformat.v
libgme.c
libmodplug.c
libopenmpt.c avformat/libopenmpt: Query duration and metadata after selecting subsong 2017-09-24 15:54:38 +01:00
librtmp.c
libsmbclient.c
libssh.c
lmlm4.c
loasdec.c
log2_tab.c
lrc.c
lrc.h
lrcdec.c avformat/lrcdec: Fix memory leak in lrc_read_header() 2018-01-28 15:33:09 +01:00
lrcenc.c
lvfdec.c
lxfdec.c
m4vdec.c
Makefile Add SUP/PGS subtitle muxer 2017-09-09 12:07:14 +02:00
matroska.c
matroska.h
matroskadec.c avformat/matroskadec: Do not leak queued packets on sync errors 2019-03-24 10:38:51 +01:00
matroskaenc.c avformat/matroskaenc: add missing allocation failure checks for stream durations 2017-12-01 01:26:15 -03:00
md5proto.c
metadata.c
metadata.h
mgsts.c
microdvddec.c
microdvdenc.c
mj2kdec.c
mkvtimestamp_v2.c
mlpdec.c
mlvdec.c avformat/mlvdec: read_string() received unsigned size, make the argument unsigned 2018-10-28 02:22:42 +02:00
mm.c
mmf.c
mms.c avformat/mms: Add missing chunksize check 2018-07-07 12:27:00 +02:00
mms.h
mmsh.c
mmst.c
mov_chan.c
mov_chan.h
mov.c avformat/mov: Check for EOF in mov_read_meta() 2019-11-15 12:25:46 +01:00
movenc.c avformat/movenc: Write version 2 of audio atom if channels is not known 2018-07-17 11:46:33 +02:00
movenc.h movenc: Add an option for enabling negative CTS offsets 2017-09-28 18:15:45 +02:00
movenccenc.c
movenccenc.h
movenchint.c
mp3dec.c avformat/mp3dec: Check that the frame fits within the probe buffer 2019-11-21 23:27:24 +01:00
mp3enc.c avformat/mp3enc: Avoid SEEK_END as it is unsupported 2019-11-14 23:30:37 +01:00
mpc8.c
mpc.c avformat/mpc: deallocate frames array on errors 2019-11-15 12:25:45 +01:00
mpeg.c avformat/mpeg: zero initialize idx_pkt 2017-09-23 19:37:21 -03:00
mpeg.h
mpegenc.c
mpegts.c avformat/mpegts: Fix side data type for stream id 2019-03-24 10:38:51 +01:00
mpegts.h
mpegtsenc.c
mpegvideodec.c
mpjpeg.c
mpjpegdec.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
mpl2dec.c
mpsubdec.c avformat/mpsubdec: Clear queue on error 2019-11-15 12:25:46 +01:00
msf.c
msnwc_tcp.c
mtaf.c
mtv.c
musx.c
mux.c
mvdec.c avformat/mvdec: Fix DoS due to lack of eof check 2017-08-27 19:23:37 +02:00
mvi.c
mxf.c
mxf.h
mxfdec.c lavf/mxfdec: Search all components of material track for source package. 2017-10-03 23:29:20 +02:00
mxfenc.c avformat/mxfenc: Fix labels for IEC PAL DV 420 2017-10-03 18:34:37 +02:00
mxg.c
ncdec.c
network.c
network.h
nistspheredec.c
nsvdec.c avformat/nsvdec: Do not parse multiple NSVf 2018-10-28 02:22:42 +02:00
nullenc.c
nut.c
nut.h
nutdec.c
nutenc.c avformat/nutenc: Do not pass NULL to memcmp() in get_needed_flags() 2019-11-15 12:25:47 +01:00
nuv.c
oggdec.c avformat/oggdec: Fix metadata memleak on multiple headers 2018-06-18 01:16:03 +02:00
oggdec.h
oggenc.c
oggparsecelt.c
oggparsedaala.c avformat/oggparsedaala: Do not adjust AV_NOPTS_VALUE 2018-06-18 01:16:03 +02:00
oggparsedirac.c
oggparseflac.c
oggparseogm.c avformat/oggparseogm: Check lb against psize 2018-06-18 01:16:03 +02:00
oggparseopus.c
oggparseskeleton.c
oggparsespeex.c
oggparsetheora.c avformat/oggparsetheora: Do not adjust AV_NOPTS_VALUE 2018-06-18 01:16:03 +02:00
oggparsevorbis.c libavformat/oggparsevorbis: Fix memleak on multiple headers 2018-06-18 01:16:03 +02:00
oggparsevp8.c Don't manipulate duration when it's AV_NOPTS_VALUE. 2017-12-01 01:24:17 -03:00
oma.c
oma.h
omadec.c avformat: fix id3 chapters 2017-10-05 17:10:23 +02:00
omaenc.c
options_table.h
options.c
os_support.c
os_support.h
paf.c
pcm.c
pcm.h
pcmdec.c
pcmenc.c
pjsdec.c avformat/pjsdec: Check duration for overflow 2019-11-15 12:25:46 +01:00
pmpdec.c
prompeg.c
protocols.c
psxstr.c
pva.c avformat/pva: Check for EOF before retrying in read_part_of_packet() 2018-07-07 12:27:00 +02:00
pvfdec.c
qcp.c
qtpalette.c
qtpalette.h
r3d.c
rawdec.c lavf: make avio_read_partial() public 2017-09-01 17:56:33 +02:00
rawdec.h
rawenc.c lavf/rawenc: Only accept the appropriate stream type for raw muxers. 2019-09-06 19:01:27 -03:00
rawenc.h
rawutils.c
rawvideodec.c
rdt.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
rdt.h
realtextdec.c avformat/realtextdec: free queue on error 2019-11-15 12:25:45 +01:00
redspark.c
replaygain.c
replaygain.h
riff.c
riff.h Merge commit '0539d84d985e811e5989ef27c13f7e2dda0f9b89' 2017-09-28 00:28:38 -03:00
riffdec.c Merge commit '0539d84d985e811e5989ef27c13f7e2dda0f9b89' 2017-09-28 00:28:38 -03:00
riffenc.c
rl2.c avformat/rl2: Fix DoS due to lack of eof check 2017-08-27 19:23:30 +02:00
rm.c
rm.h
rmdec.c avformat/rmdec: Fix EOF check in the stream loop in ivr_read_header() 2018-10-28 02:22:42 +02:00
rmenc.c
rmsipr.c
rmsipr.h
rpl.c
rsd.c
rso.c
rso.h
rsodec.c
rsoenc.c
rtmp.h
rtmpcrypt.c
rtmpcrypt.h
rtmpdh.c
rtmpdh.h
rtmphttp.c
rtmppkt.c Merge commit 'a1a143adb0fd11c474221431417cff25db7d920f' 2017-09-26 18:29:05 -03:00
rtmppkt.h Merge commit 'a1a143adb0fd11c474221431417cff25db7d920f' 2017-09-26 18:29:05 -03:00
rtmpproto.c Merge commit '15a92e0c402c830b607f905d6bf203b6cfb4fa8c' 2017-09-26 18:34:25 -03:00
rtp.c
rtp.h
rtpdec_ac3.c
rtpdec_amr.c
rtpdec_asf.c
rtpdec_dv.c
rtpdec_formats.h
rtpdec_g726.c
rtpdec_h261.c
rtpdec_h263_rfc2190.c
rtpdec_h263.c
rtpdec_h264.c avformat/rtpdec_h264: Fix heap-buffer-overflow 2017-08-23 22:19:33 +02:00
rtpdec_hevc.c
rtpdec_ilbc.c
rtpdec_jpeg.c
rtpdec_latm.c
rtpdec_mpa_robust.c
rtpdec_mpeg4.c
rtpdec_mpeg12.c
rtpdec_mpegts.c
rtpdec_qcelp.c
rtpdec_qdm2.c
rtpdec_qt.c
rtpdec_rfc4175.c
rtpdec_svq3.c
rtpdec_vc2hq.c
rtpdec_vp8.c
rtpdec_vp9.c
rtpdec_xiph.c
rtpdec.c
rtpdec.h
rtpenc_aac.c
rtpenc_amr.c
rtpenc_chain.c
rtpenc_chain.h
rtpenc_h261.c
rtpenc_h263_rfc2190.c
rtpenc_h263.c
rtpenc_h264_hevc.c
rtpenc_jpeg.c
rtpenc_latm.c
rtpenc_mpegts.c
rtpenc_mpv.c
rtpenc_vc2hq.c
rtpenc_vp8.c
rtpenc_vp9.c
rtpenc_xiph.c
rtpenc.c lavf/rtpenc: Add support for little-endian G.726. 2017-10-07 20:47:10 +02:00
rtpenc.h
rtpproto.c
rtpproto.h
rtsp.c avformat/rtsp: Check number of streams in sdp_parse_line() 2019-03-24 10:38:51 +01:00
rtsp.h Merge commit '79331df362fb05a0d04ca9489c87e5b80077a3f4' 2017-10-03 23:08:06 -03:00
rtspcodes.h
rtspdec.c
rtspenc.c
s337m.c
samidec.c
sapdec.c
sapenc.c
sauce.c
sauce.h
sbgdec.c avformat/sbgdec: Fixes integer overflow in str_to_time() with hours 2019-11-14 23:30:37 +01:00
sccdec.c
sccenc.c
sctp.c
sdp.c lavf/rtpenc: Add support for little-endian G.726. 2017-10-07 20:47:10 +02:00
sdr2.c
sdsdec.c
sdxdec.c
segafilm.c
segment.c Fix several typos 2017-09-21 16:17:02 -08:00
shortendec.c avformat/shortendec: Check k in probe 2019-11-15 12:25:46 +01:00
sierravmd.c
siff.c
smacker.c
smjpeg.c
smjpeg.h
smjpegdec.c
smjpegenc.c
smoothstreamingenc.c Remove some unneeded casts of bit_rate. 2017-09-22 01:33:22 +02:00
smush.c
sol.c
sox.h
soxdec.c
soxenc.c
spdif.c
spdif.h
spdifdec.c
spdifenc.c
srtdec.c
srtenc.c
srtp.c
srtp.h
srtpproto.c
stldec.c
subfile.c
subtitles.c avformat/subtitles: Check nb_subs in ff_subtitles_queue_finalize() 2019-11-15 12:25:46 +01:00
subtitles.h
subviewer1dec.c
subviewerdec.c
supdec.c
supenc.c Add SUP/PGS subtitle muxer 2017-09-09 12:07:14 +02:00
svag.c
swf.c
swf.h
swfdec.c Use the new AVIOContext destructor. 2017-09-01 02:16:33 -03:00
swfenc.c
takdec.c
tcp.c
tedcaptionsdec.c
tee_common.c
tee_common.h
tee.c
teeproto.c
thp.c
tiertexseq.c
tls_gnutls.c lavf/tls_gnutls: fix warnings from version check 2017-09-26 15:05:32 +02:00
tls_openssl.c
tls_schannel.c
tls_securetransport.c
tls.c
tls.h
tmv.c
tta.c
ttaenc.c
tty.c
txd.c
udp.c
uncodedframecrcenc.c
unix.c
url.c
url.h
urldecode.c
urldecode.h
utils.c avformat/utils: Check rfps_duration_sum for overflow 2019-11-14 23:30:38 +01:00
v210.c
vag.c
vc1dec.c
vc1test.c
vc1testenc.c
version.h Bump minor versions for branching 3.4 2017-10-11 01:23:47 +02:00
vivo.c
voc_packet.c
voc.c
voc.h
vocdec.c
vocenc.c
vorbiscomment.c
vorbiscomment.h
vpcc.c
vpcc.h
vpk.c avformat/vpk: Check offset for validity 2019-11-14 23:30:37 +01:00
vplayerdec.c
vqf.c avformat/vqf: Check header_size 2019-11-14 23:30:37 +01:00
w64.c
w64.h
wavdec.c lafv/wavdec: Fail bext parsing on incomplete reads 2019-11-15 12:25:45 +01:00
wavenc.c avformat/wavenc: replace literal numbers with enum constants 2017-10-05 09:49:22 +02:00
wc3movie.c
webm_chunk.c avformat/webm_chunk: Specify expected argument length of get_chunk_filename() 2019-11-14 23:30:37 +01:00
webmdashenc.c avformat/webmdashenc: Check id in adaption_sets 2019-03-24 10:38:51 +01:00
webpenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
webvttdec.c
webvttenc.c
westwood_aud.c
westwood_vqa.c
wsddec.c avformat/wsddec: Fix undefined shift 2019-11-14 23:30:37 +01:00
wtv_common.c
wtv.h
wtvdec.c avformat/wtvdec: Avoid (32bit signed) sectors 2019-11-14 23:30:37 +01:00
wtvenc.c avformat: replace all uses of av_copy_packet() 2017-09-25 21:26:38 -03:00
wv.c
wv.h
wvdec.c avformat/wvdec: detect and error out on WavPack DSD files 2019-03-24 10:38:51 +01:00
wvedec.c
wvenc.c
xa.c
xmv.c avformat/xmv: Make bitrate 64bit 2019-11-14 23:30:37 +01:00
xvag.c
xwma.c
yop.c
yuv4mpeg.h
yuv4mpegdec.c
yuv4mpegenc.c