]> git.sesse.net Git - ffmpeg/commit
avcodec/simple_idct_template: Fix integer overflow in idctSparseCol()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Jun 2019 22:03:01 +0000 (00:03 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 07:38:04 +0000 (09:38 +0200)
commitb5f2cfd2ad2b269d3de79083dbb9162a632b69bb
treed7896d41e1bbc19a8be64c1735dc5def104fa6f7
parent7b114d76878f1a542bcb75456492cc43e6414f8b
avcodec/simple_idct_template: Fix integer overflow in idctSparseCol()

Fixes: signed integer overflow: -1027919784 + -1120041624 cannot be represented in type 'int'
Fixes: 15406/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-5700646528876544
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/simple_idct_template.c