diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-28 20:12:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-19 17:17:35 +0200 |
commit | 10d70a65d1927c8f14864ae7a789a6cb02e31315 (patch) | |
tree | 97531edb439b4ce0167fcc1056da003e7dd4d10e /libavcodec/exr.c | |
parent | 6c35049858878dff279a9501918bb12077d09a80 (diff) | |
download | ffmpeg-10d70a65d1927c8f14864ae7a789a6cb02e31315.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 'libavcodec/exr.c')
0 files changed, 0 insertions, 0 deletions