avcodec/atrac9dec: Check block_align
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Aug 2019 23:03:59 +0000 (01:03 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Aug 2019 15:57:44 +0000 (17:57 +0200)
commitdead949a1fbf019647f5c8ea797d1c7be6615639
tree259c6ef69384f7413bd20b3b0595a4d90d7a109a
parent33a53722dc5ec4fcb2cf9c5e8b23566ff3b50577
avcodec/atrac9dec: Check block_align

Fixes: Infinite loop
Fixes: 16260/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC9_fuzzer-5676365617037312
Fixes: 16260/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC9_fuzzer-5768093879500800

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/atrac9dec.c