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:31 +0000 (01:43 +0200)
commit0ca5c57d9d0670097235102abd54cccfb3f3c2db
tree5729b54f2db770a9fe27495387bed9349d60817a
parent2ac9bc34978cf77eebaf288741bdfa669e1df195
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