diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-17 00:04:57 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-25 22:21:14 +0100 |
commit | de031809f3a001f1c31eace1ff6e42355c87b9bc (patch) | |
tree | d6b147a62d80f11058e15b4358e870d9a79f5e77 /libavformat/rtpdec_mpegts.c | |
parent | 6550d0580b075912a39129fe1774b385ee50a9cf (diff) | |
download | ffmpeg-de031809f3a001f1c31eace1ff6e42355c87b9bc.tar.gz |
ffmdec: validate codec parameters
A negative extradata size for example gets passed to memcpy in
avcodec_parameters_from_context causing a segmentation fault.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 1c7da19a4b45f5623cb3955b29b9a581026e3c61)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/rtpdec_mpegts.c')
0 files changed, 0 insertions, 0 deletions