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 11:22:54 +0000 (13:22 +0200)
commitba4b4e48092f7bd5fce78c8e0dfa3818624a519f
treec61b3d1f1e26ba6bc7e43ebd64abb97786a524a5
parentc5e55990106b3b0f4fb09778c5a704d1244a8281
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.c