diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-11 21:04:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:49 +0200 |
commit | 6128c6f3384052696d97ffacfc79d5d374eb3991 (patch) | |
tree | d03355f20fe354f020573d5a00125d047cf3417e /libavformat/mlpdec.c | |
parent | f4916e5c97d89ece33e96e7fe850f84d89559a76 (diff) | |
download | ffmpeg-6128c6f3384052696d97ffacfc79d5d374eb3991.tar.gz |
avcodec/dpx: Check bits_per_color earlier
Fixes: shift exponent 251 is too large for 32-bit type 'int'
Fixes: 32147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DPX_fuzzer-5519111675314176
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 c093eb30311b7148a4da1c7555498187c8cdf0db)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mlpdec.c')
0 files changed, 0 insertions, 0 deletions