]> git.sesse.net Git - ffmpeg/commit
avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Oct 2020 19:35:43 +0000 (21:35 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Oct 2020 13:33:13 +0000 (15:33 +0200)
commitd1983628394e076001cc67d85656f9842b7282a3
tree8c6c275762f4f995445927982df2dfdbe9b41293
parent8750c8f45c8697e7a8faab50d0b728dcbc23629f
avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct()

Fixes: signed integer overflow: 241173056 + 1953511200 cannot be represented in type 'int'
Fixes: 26086/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5068366420901888
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