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>
Wed, 23 Aug 2017 02:03:16 +0000 (04:03 +0200)
commit2820ffe3923677361fa026175e0280f01af01516
treecee943da0575d17e011e7929533bd5b0636896ae
parentc543ff526bba6caa3ee035a712c988fb98b7f983
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>
(cherry picked from commit 6f03ffb47d51368a4bbc87702df8446e4660845d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aacdec_template.c