avformat/asfdec: Fix DoS in asf_build_simple_index()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 4 Sep 2017 22:16:29 +0000 (00:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 7 Sep 2017 13:19:22 +0000 (15:19 +0200)
commitafc9c683ed9db01edb357bc8c19edad4282b3a97
tree86bea6e1f9c1886bc70615ee705cd653a9052be2
parent9cb4eb772839c5e1de2855d126bf74ff16d13382
avformat/asfdec: Fix DoS in asf_build_simple_index()

Fixes: Missing EOF check in loop
No testcase

Found-by: Xiaohei and Wangchu from Alibaba Security Team
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/asfdec_f.c