avcodec/exr: Check ac_count
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Aug 2021 16:38:31 +0000 (18:38 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Aug 2021 19:04:43 +0000 (21:04 +0200)
commit9bc32d7c4bed836086199ce55cf4a5ddd5217f3e
tree64add05defe8445f30e82ef32d6b3738e9c514f0
parentc42f277903028627fb916b72704fd0ccc83d4af2
avcodec/exr: Check ac_count

Fixes: signed integer overflow: -9223372036854775808 * 2 cannot be represented in type 'long long'
Fixes: 36244/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-6090656186499072

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/exr.c