avcodec/atrac9dec: Check that the reused block has succeeded initilization
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jun 2019 18:56:20 +0000 (20:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 29 Jun 2019 17:22:19 +0000 (19:22 +0200)
commitac9af7e9a5befa8a554bacbcc59ab2f11203d85e
tree62d8517b7be5eafe7957a0bba4fa502d53c14253
parenta30e44098ad4c57c1c78556ba85fe42f97fe2e8b
avcodec/atrac9dec: Check that the reused block has succeeded initilization

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