avformat/mvdec: Fix DoS due to lack of eof check
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 24 Aug 2017 23:15:30 +0000 (01:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 27 Aug 2017 23:43:28 +0000 (01:43 +0200)
commit9a73a776816b359cc5befe2ddaa7edef22c4f353
treef41c7b3bca113ebb343cf28204e7560c35c8b187
parent4c6bed6e3be18f09223e952213b9cb1098ff956f
avformat/mvdec: Fix DoS due to lack of eof check

Fixes: loop.mv

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