diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-05 13:03:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-15 22:31:13 +0200 |
commit | 3aa3b05d64040e4be8e840a969add39ffb72c54a (patch) | |
tree | d270cd759e0e3c961ae12281d18cececec720e60 /libavutil | |
parent | 7a5ddf731b5cc68bb199ccc7c826de04f7f83bf9 (diff) | |
download | ffmpeg-3aa3b05d64040e4be8e840a969add39ffb72c54a.tar.gz |
avcodec/shorten: Sanity check nmeans
Fixes: OOM
Fixes: 8195/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5179785826271232
The reference software appears to use longs for 32bits and it uses int for nmeans
hinting that the intended maximum size was not 32bit.
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d91a0b503d7a886587281bc1ee42476aa5e89f85)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions