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>
Sun, 16 Jul 2017 15:02:31 +0000 (17:02 +0200)
commit3cae97b090e139acfcda6dda7c73f2e607c4f74a
treefc41dd0d0d3383f8ca8baab0cea95229dffaab25
parent654ff561032a252bfa0f31b74ea54dad98dba294
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