diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-07-02 00:09:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-07-18 22:14:16 +0200 |
commit | c61715e2c505c15a5cfc9eab18b4311a6504055a (patch) | |
tree | e00db95db9a6962809ecdec5f218c84e99f16284 /compat/getopt.c | |
parent | 2886142e0c3b5f4304c6e2a2bd282770a8a47f93 (diff) | |
download | ffmpeg-c61715e2c505c15a5cfc9eab18b4311a6504055a.tar.gz |
avcodec/htmlsubtitles: Be a bit more picky on syntax
This reduces the number of strstr() calls per byte
This diasalows empty tags like '< >' as well as '<' in tags like '<ab<cd<<ef>'
Fixes timeout
Fixes: 1817/clusterfuzz-testcase-minimized-5104230530547712
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'compat/getopt.c')
0 files changed, 0 insertions, 0 deletions