Michael Niedermayer 7ba100d3e6 avformat/hls: Fix DoS due to infinite loop
Fixes: loop.m3u

The default max iteration count of 1000 is arbitrary and ideas for a better solution are welcome

Found-by: Xiaohei and Wangchu from Alibaba Security Team

Previous version reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7ec414892ddcad88313848494b6fc5f437c9ca4a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-08-28 01:41:39 +02:00
..
2014-08-24 14:35:11 +02:00
2016-02-01 02:28:54 +01:00
2017-08-23 13:15:18 +02:00
2015-05-14 04:08:10 +02:00