Michael Niedermayer 2920c7cec0 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-09-17 12:21:32 +02:00
..
2016-10-26 20:52:42 +02:00
2017-07-30 12:22:51 +02:00
2016-10-21 23:58:47 +02:00
2016-05-04 18:16:21 +02:00
2016-10-01 19:58:04 +01:00
2017-07-23 15:01:03 +02:00
2016-12-11 00:21:53 +01:00
2016-10-01 19:58:04 +01:00
2016-10-21 23:58:47 +02:00
2016-03-28 14:13:17 -08:00
2016-05-04 18:16:21 +02:00
2016-10-03 00:16:27 +01:00
2016-10-03 00:16:27 +01:00