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:04 +0000 (01:43 +0200)
commit1720050ae6eba72577e4a235994a53de5d72f8d7
tree8be8418337731897779e54f5b641580d67d635bb
parentc70fdd9948085a72c8f622c6e22d9349cbf0bc75
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