]> git.sesse.net Git - ffmpeg/commit
avcodec/simple_idct_template: Fix integer overflow in idctSparseColAdd()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Jun 2019 22:23:47 +0000 (00:23 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 07:38:05 +0000 (09:38 +0200)
commit85cbd042ff801b4c4e13fca637d2dd25b7a312ff
treee8547dbb6fbc326b25b1db2ae937da6d4d407c87
parentb5f2cfd2ad2b269d3de79083dbb9162a632b69bb
avcodec/simple_idct_template: Fix integer overflow in idctSparseColAdd()

Fixes: signed integer overflow: 1106434976 + 1041773512 cannot be represented in type 'int'
Fixes: 15421/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5669209314426880
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