]> git.sesse.net Git - ffmpeg/commit
avcodec/adpcm: Check initial predictor for ADPCM_IMA_EA_EACS
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 27 Sep 2019 16:02:17 +0000 (18:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 16 Oct 2019 17:17:57 +0000 (19:17 +0200)
commit2f66e8436d89963362acf533a60ed4fedb42546e
treee67706d78a70f40f9c3200cb0bb153a563cbdd0f
parent07732f12a43ac3048e44c086c9a8c811452ba31c
avcodec/adpcm: Check initial predictor for ADPCM_IMA_EA_EACS

Fixes: signed integer overflow: -2147483360 - 631 cannot be represented in type 'int'
Fixes: 17701/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_IMA_EA_EACS_fuzzer-5711517319692288
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