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

Fixes: loop.rl2

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