]> git.sesse.net Git - ffmpeg/commit
avcodec/adpcm: Clip predictor for APC
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Nov 2019 22:02:56 +0000 (23:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 15 Dec 2019 00:01:22 +0000 (01:01 +0100)
commit9fe07908c3f67d59cf4db5668d61b34506189590
tree334dc80f71d81f851c8a7b6166bf7691d35bf3bc
parent01593278cef06dbb4491d50d03b72198d2848adf
avcodec/adpcm: Clip predictor for APC

Fixes: signed integer overflow: -2147483648 - 13 cannot be represented in type 'int'
Fixes: 18893/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_IMA_APC_fuzzer-5630760442920960
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/adpcm.c