avcodec/atrac9dec: Check q_unit_cnt in parse_band_ext()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jun 2019 19:01:50 +0000 (21:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jun 2019 17:22:19 +0000 (19:22 +0200)
commitfb4a4557d15bce601e2462207648741600fa273f
tree7e4ae448777f2b51ded21cf0db219fce5fa5d7a3
parentac9af7e9a5befa8a554bacbcc59ab2f11203d85e
avcodec/atrac9dec: Check q_unit_cnt in parse_band_ext()

Fixes: global-buffer-overflow
Fixes: 15247/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ATRAC9_fuzzer-5671602181636096

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