avformat/cinedec: Fix DoS due to lack of eof check
author孙浩 and 张洪亮(望初) <tony.sh and wangchu.zhl@alibaba-inc.com>
Thu, 24 Aug 2017 23:15:27 +0000 (01:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 27 Aug 2017 23:42:23 +0000 (01:42 +0200)
commitadca94d65e5c70d9fc104abc38081fa147d7f046
tree328329650f89a490dce06d78dfe84a7db19a2fdd
parent39ddbd204aad0e1e1988b108a507f3c608b0129b
avformat/cinedec: Fix DoS due to lack of eof check

Fixes: loop.cine

Found-by: Xiaohei and Wangchu from Alibaba Security Team
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7e80b63ecd259d69d383623e75b318bf2bd491f6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/cinedec.c