avcodec/h264idct_template: Fix integer overflow in ff_h264_idct8_add
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Nov 2017 02:08:20 +0000 (03:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 27 Nov 2017 02:31:53 +0000 (03:31 +0100)
commit9cc926da7d9920d17b76584e7212309ab5c02387
treed07a160299ffe7fc499afb321a6fd6f99cafc492
parent3aad94bf2b140cfba8ae69d018da05d4948ef37f
avcodec/h264idct_template: Fix integer overflow in ff_h264_idct8_add

Fixes: signed integer overflow: 452986184 - -2113885312 cannot be represented in type 'int'
Fixes: 4196/clusterfuzz-testcase-minimized-5580648594014208

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