diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-26 01:26:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-28 01:41:36 +0200 |
commit | b9fa2a86e6ddb26d3104521c4d54a6e5ded92a25 (patch) | |
tree | 0ccb124da8fff03b300e78a9fe7342ae51b82e79 /libavcodec/mpeg_er.c | |
parent | ffdc430c4aeb9a05d082e4a69b942cf736f81fe6 (diff) | |
download | ffmpeg-b9fa2a86e6ddb26d3104521c4d54a6e5ded92a25.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/mpeg_er.c')
0 files changed, 0 insertions, 0 deletions