]> git.sesse.net Git - ffmpeg/commit
avcodec/hcadec: Check total_band_count against imdct_in size
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 30 Jun 2020 19:32:53 +0000 (21:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 2 Jul 2020 15:18:35 +0000 (17:18 +0200)
commit2d96c945312d3f62e3f872bfb51a593afb40e09a
tree39df8c7120d608fd2cb894e8398bbb4cfec71c49
parentc8de8dfba6b2706f22214489b1779fb0d27e7e65
avcodec/hcadec: Check total_band_count against imdct_in size

Fixes: index 128 out of bounds for type 'float [128]'
Fixes: 23465/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HCA_fuzzer-5089866596745216
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hcadec.c