]> git.sesse.net Git - ffmpeg/commit
avcodec/vp3dsp: Use unsigned constant to avoid undefined integer overflow in ff_vp3ds...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Nov 2020 23:04:51 +0000 (00:04 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Nov 2020 17:01:54 +0000 (18:01 +0100)
commitc7e775f7126562ae8cfe1411022efa000b572f01
tree386b78c97acac52e21680f86d27271c6825515d0
parentb33233bd53f74f94f4cd7be0645a99a9549a913e
avcodec/vp3dsp: Use unsigned constant to avoid undefined integer overflow in ff_vp3dsp_set_bounding_values()

Fixes: signed integer overflow: 64 * 33686018 cannot be represented in type 'int'
Fixes: 26911/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-4904975073017856
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3dsp.c