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>
Sat, 9 Sep 2017 23:33:28 +0000 (01:33 +0200)
commit6ce9b2c1fec171ff823df45e1d288eabcb79397b
tree13b39c8fb075f134c90240167d77f7a9f1b7174b
parent4a122a0879d5d237cdfc4087871643a884be5ce3
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