diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-28 20:12:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-01 12:49:26 +0200 |
commit | e1aa37ce1a3659ad33f88de8b68c5b6e27f20fb7 (patch) | |
tree | 69bb31435b582364eb2ad3bf8b3e39354472ea53 /libavformat/rawenc.h | |
parent | ba17b9961ac121dbba77feea77685afdfd15a28d (diff) | |
download | ffmpeg-e1aa37ce1a3659ad33f88de8b68c5b6e27f20fb7.tar.gz |
avcodec/lagarith: Sanity check scale
A value of 24 and above can collaps the range to 0 which would not work.
Fixes: Timeout (75sec -> 21sec)
Fixes: 18707/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LAGARITH_fuzzer-5708950892969984
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 fb3855342b9e4c577c63b38a7a5a574830a21934)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/rawenc.h')
0 files changed, 0 insertions, 0 deletions