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:00 +0000 (01:42 +0200)
commit6904464301bbfff6e21616d43d657b163359bb3d
tree7eec1b1db0dd978e7f462749d373d002bc8f339a
parent498e07daa18cca6115eb415e592cde3701a2b800
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_f.c