avcodec/vp9dsp_template: Fix integer overflow(s) in iadst16_1d()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 23 May 2020 22:24:40 +0000 (00:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Jun 2020 21:58:49 +0000 (23:58 +0200)
commit071e2937236945c168ab99d3e3b01539194466dd
tree897ebd9bfaed39e23e4bc186571995d1e3a1affa
parentbafaf95116b78ab58dbbcbf15f9c3a7c3a123fbd
avcodec/vp9dsp_template: Fix integer overflow(s) in iadst16_1d()

Fixes: signed integer overflow: 1080285923 - -1130879337 cannot be represented in type 'int'
Fixes: 22002/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-6260237310099456

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