]> git.sesse.net Git - ffmpeg/commit
avcodec/mobiclip: Bound planar prediction value
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 31 Oct 2020 12:38:47 +0000 (13:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 Feb 2021 11:28:30 +0000 (12:28 +0100)
commit3a24000e72fe3794ed51049b7a6e26f08e3e0b67
tree8d82898841c42cf455066c81d8731cd5026eb854
parenta0ceb0cdd41b56241697cd8f83e22cdb4822d2d9
avcodec/mobiclip: Bound planar prediction value

Fixes: signed integer overflow: 2 * 1073741952 cannot be represented in type 'int'
Fixes: 26765/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MOBICLIP_fuzzer-6594926936326144
Fixes: 29663/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MOBICLIP_fuzzer-5169789012148224
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mobiclip.c