avcodec/ra144: Fix integer overflow in ff_eval_refl()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Jun 2018 21:08:32 +0000 (23:08 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commit181c3d82e9025ba60cf83376195e6d8ab800cafc
tree0f6cf14421fde530ca3495051221316a4bd43755
parent662f7cef06d31a0b98cf5769e671e70b7e53aa36
avcodec/ra144: Fix integer overflow in ff_eval_refl()

Fixes: signed integer overflow: -4096 * -524288 cannot be represented in type 'int'
Fixes: 8650/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RA_144_fuzzer-5734816036159488

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 b31189881a4cf54b0057ecf3eab917ad56eecfea)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ra144.c