avcodec/apedec: Fix integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Jul 2017 12:57:20 +0000 (14:57 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 23 Aug 2017 11:15:18 +0000 (13:15 +0200)
commit96349da5ec8eda9f0368446e557fe0c8ba0e66b7
tree7d4a732c917d8035c3b84850239d566f06efbe7a
parent664201aff83c24884e12b52e361db47eeab220da
avcodec/apedec: Fix integer overflow

Fixes: out of array access
Fixes: PoC.ape and others

Found-by: Bingchang, Liu@VARAS of IIE
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ba4beaf6149f7241c8bd85fe853318c2f6837ad0)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/apedec.c