1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-23 17:33:50 +03:00

Reduce some fuzzer timeouts

OSS-Fuzz has been fuzzing the HTML parser with inputs up to 1 MB for
several hundred hours without hitting the 20s timeout. It seems that
most timeouts resulting from accidentally quadratic behavior in the
HTML parser have been fixed. Start to gradually reduce the timeout to
find new performance issues.
This commit is contained in:
Nick Wellnhofer 2021-03-01 20:56:40 +01:00
parent 688b41a0fb
commit 8446d4593e
3 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ fuzz-html: html$(EXEEXT) seed/html.stamp
./html$(EXEEXT) \
-dict=html.dict \
-max_len=1000000 \
-timeout=20 \
-timeout=10 \
corpus/html seed/html
# Regexp fuzzer
@ -99,7 +99,7 @@ fuzz-uri: uri$(EXEEXT)
@mkdir -p corpus/uri
./uri$(EXEEXT) \
-max_len=10000 \
-timeout=5 \
-timeout=2 \
corpus/uri $(srcdir)/seed/uri
# XML Schema fuzzer

View File

@ -1,2 +1,2 @@
[libfuzzer]
timeout = 20
timeout = 10

View File

@ -1,2 +1,2 @@
[libfuzzer]
timeout = 5
timeout = 2