]> git.sesse.net Git - ffmpeg/commit
avcodec/adpcm: Check block align for AV_CODEC_ID_ADPCM_PSX
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 29 Sep 2020 19:23:39 +0000 (21:23 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 11 Oct 2020 14:42:49 +0000 (16:42 +0200)
commit991246657b436d54d8f72c57fcc4888b835bb7c9
tree9390c08d04257a131859195d7db642b890a0069f
parent0aa1645140e69a092150cd4e1c7e54321f6cfd12
avcodec/adpcm: Check block align for AV_CODEC_ID_ADPCM_PSX

Regression since: ca49476ace90ddebc5f92d9d82297f77e528c21e
Fixes: out of array write
Fixes: 25786/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_PSX_fuzzer-5704869380620288
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