]> git.sesse.net Git - ffmpeg/commit
avcodec/apedec: Fix several integer overflows in predictor_update_filter() and do_app...
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 Sep 2019 20:59:55 +0000 (22:59 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 28 Sep 2019 15:49:00 +0000 (17:49 +0200)
commit1e95a3e8a7250060befd9a5fba69151bb2a6690c
treec66fa3dc69e09f45c61cc5cc9ecd0b81db70154e
parentf63cd1963e36bc70211e072bac7eb3606cf85f14
avcodec/apedec: Fix several integer overflows in predictor_update_filter() and do_apply_filter()

Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself
Fixes: signed integer overflow: -14527961 - 2147483425 cannot be represented in type 'int'
Fixes: 16380/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5645957131141120
Fixes: 16968/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5716169901735936
Fixes: 17074/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5198710497083392
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/apedec.c