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)
committerSylvain Beucler <beuc@debian.org>
Thu, 5 Dec 2019 16:27:00 +0000 (16:27 +0000)
commitcd01318a9a68a240e2d878875cf35976a154e40c
tree284b44a7d6ab2aa6a733de0faf83c54270ed8498
parent50d3ee313996c8b7e719bc7d03a4b4aafe27f067
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>
[sunweaver] - Backport to libav as found in Debian jessie LTS.

Gbp-Pq: Name CVE-2017-14223.patch
libavformat/asfdec.c