avcodec/mjpegdec: Fix runtime error: signed integer overflow: -24543 * 2031616 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Apr 2017 13:10:25 +0000 (15:10 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 May 2017 18:42:54 +0000 (20:42 +0200)
commita78ae465fda902565ed041d93403e04490b4be0d
tree7b8b7a9535782c6438bdf00ffcf67951a00df639
parentfc4f88375b8aa99495a3a774611132a77ca2e11b
avcodec/mjpegdec: Fix runtime error: signed integer overflow: -24543 * 2031616 cannot be represented in type 'int'

Fixes: 943/clusterfuzz-testcase-5114865297391616

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