diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-05 13:03:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-18 01:16:04 +0200 |
commit | 3f5bc91be324a555133e0509f73c4f46983dfed8 (patch) | |
tree | 80acae9957b869447792ef3047c2ad5e780f2836 /libavcodec/cook_parser.c | |
parent | 7598b161f4ee88219be41caff09c219c83282b8d (diff) | |
download | ffmpeg-3f5bc91be324a555133e0509f73c4f46983dfed8.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 'libavcodec/cook_parser.c')
0 files changed, 0 insertions, 0 deletions