]> 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, 5 Nov 2020 21:14:21 +0000 (22:14 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 6 Dec 2020 20:00:03 +0000 (21:00 +0100)
commit51dfd6f1bdb03bfc7574b12e921fb3b8639ba5cf
tree14f0d4aba573015a7ece8f3166f0713aa7e079db
parent65b8974d54455adc7a462f0f7385b76e1d08101c
avcodec/h264idct_template: Fix integer overflow in ff_h264_chroma422_dc_dequant_idct()

Fixes: signed integer overflow: -2105540608 - 2105540608 cannot be represented in type 'int'
Fixes: 26870/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5656647567147008
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