]> git.sesse.net Git - ffmpeg/commit
avcodec/twinvqdec: Correct overflow in block align check
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 3 Dec 2019 18:48:46 +0000 (19:48 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 31 Dec 2019 17:43:50 +0000 (18:43 +0100)
commit4dc93ae3d725e892927f04002021337c2f90252a
treebee71fadbfc6c000bc67142ea6eeef78068c0e6a
parent77ba9e32520a910f07be3c5516f51b9aee58768f
avcodec/twinvqdec: Correct overflow in block align check

Fixes: signed integer overflow: 538976288 * 8 cannot be represented in type 'int'
Fixes: 19126/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TWINVQ_fuzzer-5687464110325760
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/twinvqdec.c