avformat/asfdec: Fix DoS due to lack of eof check
author孙浩 and 张洪亮(望初) <tony.sh and wangchu.zhl@alibaba-inc.com>
Fri, 25 Aug 2017 10:37:25 +0000 (12:37 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 27 Aug 2017 23:42:03 +0000 (01:42 +0200)
commite7dc286b16ab54342e0b415abb4dc4e0cc22f736
tree28cd25ef60d14ccdb54a4f5e68e750ce576316bb
parent7ba100d3e6e8b1e5d5342feb960a7f081d6e15af
avformat/asfdec: Fix DoS due to lack of eof check

Fixes: loop.asf

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