avcodec/aacdec_template: Fix running cleanup in decode_ics_info()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Aug 2017 00:15:49 +0000 (02:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 22 Aug 2017 18:01:31 +0000 (20:01 +0200)
commit6f03ffb47d51368a4bbc87702df8446e4660845d
tree1e612526a6a886ea8b96b60562d91ac1a4ba778e
parenta2e444d5bb2e3115d3afcc0cca9d1506c90436a2
avcodec/aacdec_template: Fix running cleanup in decode_ics_info()

Fixes: out of array read
Fixes: 2873/clusterfuzz-testcase-minimized-5924145713905664

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Previous version reviewed-by: Alex Converse <alex.converse@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_template.c