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-27 00:28:07 +0100 |
commit | b4f42e5c85f589556ed486fc743fbe16f8ed88c8 (patch) | |
tree | b9801cbf95a7a433e0122c5a35ec97dc62b9814d /libavformat/libnut.c | |
parent | cb936d62664c25909b320ec230b41b5a2b9c9ed3 (diff) | |
download | ffmpeg-b4f42e5c85f589556ed486fc743fbe16f8ed88c8.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/libnut.c')
0 files changed, 0 insertions, 0 deletions