]> git.sesse.net Git - ffmpeg/commit
avcodec/adpcm: Fix undefined behavior with negative predictions in IMA OKI
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 25 Oct 2019 09:12:02 +0000 (11:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 9 Nov 2019 17:03:37 +0000 (18:03 +0100)
commit7786f6c30e77a393b72ded01baa4250738925509
treeb459dada12258c896c3286553b9dd7be7f8a6a28
parent1c63edcdd208bf18a3be66e94deb6ac115f6364e
avcodec/adpcm: Fix undefined behavior with negative predictions in IMA OKI

Fixes: left shift of negative value -30
Fixes: 18392/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_IMA_OKI_fuzzer-5631771831435264
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