diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-04-11 21:04:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-09 22:02:20 +0200 |
commit | 3f69b4640f2285ab51bc85b068e78fffac1cd5c7 (patch) | |
tree | 7cb3600f9160f89f09f42919f82724d7640b8e23 /libavcodec/flacdsp_template.c | |
parent | 57685d44eeee3b11f9915de396d1da4766f46186 (diff) | |
download | ffmpeg-3f69b4640f2285ab51bc85b068e78fffac1cd5c7.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 'libavcodec/flacdsp_template.c')
0 files changed, 0 insertions, 0 deletions