diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-26 01:26:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-09-17 15:57:27 +0200 |
commit | 0d32491b74947bdb0d2be04d8ca909ff9406660d (patch) | |
tree | d8014dbb4ae9d9ae511aca7406c3db6d89e60b31 /libavcodec/avuienc.c | |
parent | d4a333f00b5015e402d92ed2f4205a4102e6ab31 (diff) | |
download | ffmpeg-0d32491b74947bdb0d2be04d8ca909ff9406660d.tar.gz |
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>
Diffstat (limited to 'libavcodec/avuienc.c')
0 files changed, 0 insertions, 0 deletions